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>
Mon, 7 May 2012 08:34:49 +0000 (03:34 -0500)
commita3de71de6cf6824bb66935ee0961d9d52df79ae3
tree05b962b072a97692457e844d8889d56385c0b4c9
parente8aed930216d578a6f26d6a74a8559a57b85df74
OMAP: mailbox: fix NULL nb in omap_mbox_put

omap_mbox_put must check nb for NULL before trying to unregister it

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