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)
committerCris Jansson <cjansson@ti.com>
Sat, 27 Aug 2011 00:04:52 +0000 (19:04 -0500)
commit9f7bdb003256a71acbb84f4d2690f007358b7d5e
treed122b3d06ca46ead461eb1fe2111ef34360c62ea
parent2940a0eddca94871cf27cc141d82fde3a89dcda6
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