diff options
| author | Anand Gadiyar <[email protected]> | 2010-07-26 16:34:27 -0600 |
|---|---|---|
| committer | Paul Walmsley <[email protected]> | 2010-07-26 16:34:27 -0600 |
| commit | 25499d9353e8cc6b0cf205684b3ebc535f8b9372 (patch) | |
| tree | 2313746d14fd50787286378366616e978120902c /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | b37fa16e78d6f9790462b3181602a26b5af36260 (diff) | |
OMAP3: wait on IDLEST after enabling USBTLL fclk
We need to wait on the IDLEST bit after the clocks are enabled
before attempting to access any register.
Currently, the USBTLL i-clock ops uses the clkops_omap2_dflt_wait,
while the USBTLL f-clock ops uses clkops_omap2_dflt. If the
i-clock is enabled first, the clkops_omap2_dflt_wait is
short-circuited as the companion f-clock is not enabled.
This can cause a data abort if the IDLEST has not transitioned,
and we try to access a USBTLL register.
Since the USBTLL i-clock and f-clock could be enabled in any order,
this is a bug. Fix it by changing the clkops for the f-clock.
Signed-off-by: Anand Gadiyar <[email protected]>
Acked-by: Kevin Hilman <[email protected]>
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions