]> git.karo-electronics.de Git - linux-beck.git/commit
usb: phy: Pass OTG FSM pointer to callback 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:44 +0000 (09:44 -0500)
commitda8cc16724da2965c94ca15e1377cb9939776dda
tree5adbb04d75a23aa202109dd2f25668634ea9177c
parentf8cffc84a2ff8efc2ecca6128485877109e499f5
usb: phy: Pass OTG FSM pointer to callback functions

struct otg_fsm may be embedded to device's context structure.
The callbacks may require pointer to struct otg_fsm to obtain
necessary data for its operation (example: regulator reference
for drv_vbus()).

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