]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-10101-4 usb: add otg_fsm pointer in usb_bus
authorLi Jun <jun.li@freescale.com>
Tue, 27 Jan 2015 09:11:14 +0000 (17:11 +0800)
committerLi Jun <jun.li@freescale.com>
Wed, 28 Jan 2015 03:08:37 +0000 (11:08 +0800)
commit5717fde10dcd99605882c06aecb1db31615e30d2
treef6beb759c55e78041d7d79f9e4a84e8fa3c14d16
parent134822a344dad59a86bdfbb3b1177cf26096f664
MLK-10101-4 usb: add otg_fsm pointer in usb_bus

Add otg_fsm pointer in struct of usb_bus for access otg_fsm via bus.
Original way was to put it in usb_otg, then usb host can access otg_fsm via
hcd->usb_phy->otg->fsm, since usb_phy will not be the future direction, instead
phy is prefered, so this way may not work. It's more direct and simple to put
it in usb_bus.

Signed-off-by: Li Jun <jun.li@freescale.com>
include/linux/usb.h