usb: renesas_usbhs: prevent NULL pointer crash
commit5ea68d541df200d10a373c06f945f98225c2486b
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 28 Apr 2011 07:41:07 +0000 (28 16:41 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 30 Apr 2011 00:24:34 +0000 (29 17:24 -0700)
tree57957c68bd0b7af0a4d4387409b8e0fcbd2fcf1b
parent6e267da8f10b1a6551b6c4dee3779f6f56e2644d
usb: renesas_usbhs: prevent NULL pointer crash

usbhs_status_get_each_irq/usbhs_irq_callback_update might be called
with mod == NULL

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/renesas_usbhs/mod.c