diff options
author | Ruchika Kharwar <ruchika@ti.com> | 2013-07-06 14:52:49 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-07-29 12:56:51 +0200 |
commit | a45c82b84c844cd85b2ed1aa32596f1bffa32716 (patch) | |
tree | 5da3e7a15957d138633a9085125defd336bac64d /drivers/usb/dwc3/gadget.c | |
parent | usb: phy: phy-mxs-usb: Check the return value from stmp_reset_block() (diff) | |
download | linux-a45c82b84c844cd85b2ed1aa32596f1bffa32716.tar.xz linux-a45c82b84c844cd85b2ed1aa32596f1bffa32716.zip |
usb: dwc3: adapt to use dr_mode device tree helper
This patch adapts the dwc3 to use the device tree helper
"of_usb_get_dr_mode" for the mode of operation of the dwc3 instance
being probed.
[ balbi@ti.com : make of_usb_get_dr_mode() conditional on
dev->of_node and let pdata pass dr_mode too ]
Reviewed-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/gadget.c')
0 files changed, 0 insertions, 0 deletions