]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc3: ulpi: conditionally resume ULPI PHY
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 5 Jun 2017 14:01:22 +0000 (17:01 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Jun 2017 10:21:05 +0000 (13:21 +0300)
commite0082698b68981c8456061e509eb32c5f65b228c
treea603e79e1776ce812e00347d46ff7848ee779acc
parent9b0a1f95c4b48a18ae95e204b1bcde47436b0248
usb: dwc3: ulpi: conditionally resume ULPI PHY

If PHY is suspended by the time we want to issue ULPI transfers, we
will observe timeouts on the ULPI interface. In order to avoid such
issue, let's make sure PHY is resumed before issuing a ULPI transfer.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/ulpi.c