diff options
author | William Wu <wulf@rock-chips.com> | 2016-11-15 04:54:06 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2016-11-18 13:49:15 +0100 |
commit | ae9fc711d3d0fe62ffeeb83f24e79e08eafd733f (patch) | |
tree | 9c59e32c3cd566f99425b657b0f4c3baee140cb7 /sound/pci | |
parent | phy: rockchip-inno-usb2: support otg-port for rk3399 (diff) | |
download | linux-ae9fc711d3d0fe62ffeeb83f24e79e08eafd733f.tar.xz linux-ae9fc711d3d0fe62ffeeb83f24e79e08eafd733f.zip |
phy: rockchip-inno-usb2: correct clk_ops callback
Since we needs to delay ~1ms to wait for 480MHz output clock
of USB2 PHY to become stable after turn on it, the delay time
is pretty long for something that's supposed to be "atomic"
like a clk_enable(). Consider that clk_enable() will disable
interrupt and that a 1ms interrupt latency is not sensible.
The 480MHz output clock should be handled in prepare callbacks
which support gate a clk if the operation may sleep.
Signed-off-by: William Wu <wulf@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions