omap4: rpmsg: fix a memory leak in find/del_vqs
authorMiguel Vadillo <vadillo@ti.com>
Tue, 14 Jun 2011 23:21:59 +0000 (18:21 -0500)
committerSubramaniam C.A <subramaniam.ca@ti.com>
Thu, 1 Sep 2011 19:02:07 +0000 (14:02 -0500)
commit94b3e80c84e16898b3a0773782ba9c3c84bd2315
tree19c25a165f9ce10bfdf50c1a2b6d70e64cf7b1e8
parente262dddd28ff10650774f390480b07f08328a1e1
omap4: rpmsg: fix a memory leak in find/del_vqs

When failing in getting the rproc, iounmap was not being
called.
Also when calling del_vqs the iounmap of rpdev->buf_mapped
was not called.

Change-Id: Ib306f7a84a9ab2410c52efff937f0726a7863071
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
arch/arm/plat-omap/omap_rpmsg.c