rpmsg: omx: add safety removal of devices
authorFernando Guzman Lugo <fernando.lugo@ti.com>
Wed, 20 Jul 2011 01:10:52 +0000 (20:10 -0500)
committerSubramaniam C.A <subramaniam.ca@ti.com>
Wed, 9 May 2012 21:13:21 +0000 (16:13 -0500)
commit61cd8d6716cf5d8357251a971295e76bf4c11cd3
treefd203bd47d4ed802ac1e96e86389e3819a9b7eb5
parent6825e68a8902a0df7fc449c210eb022cec6b4224
rpmsg: omx: add safety removal of devices

Add safety when the rpmsg channel device is removed while the
module has users. Also that is useful when recovery is done in
RPMSG, where the channels are destroyed and created again.

Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
drivers/rpmsg/rpmsg_omx.c