usb: dwc3: pci: Enable ULPI Refclk on platforms where the firmware does not
authorHans de Goede <hdegoede@redhat.com>
Sun, 10 Jun 2018 14:01:21 +0000 (16:01 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 26 Jul 2018 10:54:21 +0000 (13:54 +0300)
commit7740d04d901db7fe631b89dc4f695093327e2124
tree126c22e14df016007374c019a3c7f2a9a185db99
parent5741022cbdf3616a9def13b15ab5667a36c65706
usb: dwc3: pci: Enable ULPI Refclk on platforms where the firmware does not

On some Bay Trail (BYT) systems the firmware does not enable the
ULPI Refclk.

This commit adds a helper which checks and if necessary enabled the Refclk
and calls this helper for BYT machines.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-pci.c