]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/rmu: Fix the error memory free parameters
authorLiu Gang <Gang.Liu@freescale.com>
Wed, 9 Apr 2014 10:04:45 +0000 (18:04 +0800)
committerScott Wood <scottwood@freescale.com>
Fri, 9 May 2014 20:49:08 +0000 (15:49 -0500)
commit26354afd08f185eb4471f0bfeb10e1257d42649c
tree0fc7d3a8ba116eef560edacf83b21b9d200d5e17
parent9ac0cfcc58d84c7805c01e862d88c9e34bb13d2a
powerpc/rmu: Fix the error memory free parameters

There are error parameters should be corrected when
calling dma_free_coherent to free rmu rx-ring buffers
in fsl_open_inb_mbox() function.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/sysdev/fsl_rmu.c