aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorJack Pham <[email protected]>2015-12-10 18:28:56 -0600
committerGreg Kroah-Hartman <[email protected]>2016-01-24 20:51:18 -0800
commite8f55b91482247b0b11b2f2f12188d9be55bbd19 (patch)
tree11115ee2a196c39fc00672ac655f08a406735cf2 /tools/perf/scripts/python/compaction-times.py
parentf13f0e65606c4877a9c16b3a8d1272fcaaa987a8 (diff)
usb: host: ehci-msm: Fix register initialization
The default value for the 'transceiver select' field of the PORTSC register may not always be correct. Previously the phy-msm-usb driver would do this for us, but since ehci-msm can now be instantiated standalone without any PHY driver, the register needs to be explicitly initialized to ULPI mode to properly communicate with the PHY. This is not readily apparent, as firmware or bootloader code also happen to pre-initialize this for us. However, it can manifest when performing a driver unbind/rebind as follows: cd /sys/bus/platform/drivers/msm_hsusb_host echo QCOM8040:00 > unbind echo QCOM8040:00 > bind The EHCI core executes a controller reset as part of this, and as a result the register in question would revert to its default state and must be re-initialized properly. Furthermore this may be useful in the future when adding PM suspend/resume support. Signed-off-by: Jack Pham <[email protected]> Signed-off-by: Timur Tabi <[email protected]> Reviewed-by: Andy Gross <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions