summaryrefslogtreecommitdiff
path: root/samples/kfifo
diff options
context:
space:
mode:
authorWilliam Wu <wulf@rock-chips.com>2016-11-15 06:54:06 +0300
committerKishon Vijay Abraham I <kishon@ti.com>2016-11-18 15:49:15 +0300
commitae9fc711d3d0fe62ffeeb83f24e79e08eafd733f (patch)
tree9c59e32c3cd566f99425b657b0f4c3baee140cb7 /samples/kfifo
parent98898f3bc83c8a74e562869332cb1b349976a116 (diff)
downloadlinux-ae9fc711d3d0fe62ffeeb83f24e79e08eafd733f.tar.xz
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 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions