]> git.openfabrics.org - ~emulex/infiniband.git/commit
usb: phy: Check OTG FSM callback existance in helper functions
authorAnton Tikhomirov <av.tikhomirov@samsung.com>
Thu, 3 Oct 2013 03:42:04 +0000 (12:42 +0900)
committerFelipe Balbi <balbi@ti.com>
Fri, 4 Oct 2013 14:44:45 +0000 (09:44 -0500)
commit737cc66eac350d674c72a3f903541644098ec47e
treef01b1673e6cdb67d3772d6e3a545c014fdfec2c9
parentda8cc16724da2965c94ca15e1377cb9939776dda
usb: phy: Check OTG FSM callback existance in helper functions

Existence of callback must be checked to avoid NULL pointer
dereferncing.

Signed-off-by: Anton Tikhomirov <av.tikhomirov@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-fsm-usb.h