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>
Thu, 22 May 2014 23:08:13 +0000 (18:08 -0500)
commit1c075f95504b77e80d6e491fef8f89a001164ded
tree24cf4bbb418e901cb6435fe36cb86ad6ab72f413
parente57eeae4e6453be952d066519466858b5f64d19c
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