OMAP: mailbox: fix NULL nb in omap_mbox_put
authorFernando Guzman Lugo <fernando.lugo@ti.com>
Thu, 31 Mar 2011 01:43:41 +0000 (20:43 -0500)
committerSubramaniam C.A <subramaniam.ca@ti.com>
Thu, 1 Sep 2011 19:02:06 +0000 (14:02 -0500)
commite40a1b185e251aea459d6235d6e836c8d61c02e0
tree289548d42ae22d4bd0584d0164917dab19e178a3
parent58f705f845cae36ab9b9f8e0929694cb4de4aab3
OMAP: mailbox: fix NULL nb in omap_mbox_put

omap_mbox_put must check nb for NULL before trying to unregister it

Change-Id: I49620e28e23ad24549e495548cac3e538cbcd751
Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
arch/arm/plat-omap/mailbox.c