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>
Mon, 22 Aug 2011 23:15:04 +0000 (18:15 -0500)
commit8b9a0e7893ee443b281e21e4a5d5203d0745260f
tree1cdd99643ffc0210645851c0bb8226476ebd9b41
parent61df221f41743c8429fa2a8edda0bce4ff712ff9
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