Commit d929b2b
bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset()
The am335x-evm started producing boot errors because of subtle timing
changes:
Unhandled fault: external abort on non-linefetch (0x1008) at 0xf03c1010
...
sysc_reset from sysc_probe+0xf60/0x1514
sysc_probe from platform_probe+0x5c/0xbc
...
The fix consists in using the appropriate sleep function in sysc reset.
For flexible sleeping, fsleep is recommended. Here, sysc delay parameter
can take any value in [0 - 255] us range. As a result, fsleep() should
be used, calling udelay() for a sysc delay lower than 10 us.
Signed-off-by: Julien Panis <[email protected]>
Fixes: e709ed7 ("bus: ti-sysc: Fix missing reset delay handling")
Message-ID: <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>1 parent 0bb80ec commit d929b2b
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2150 | 2150 | | |
2151 | 2151 | | |
2152 | 2152 | | |
2153 | | - | |
2154 | | - | |
| 2153 | + | |
2155 | 2154 | | |
2156 | 2155 | | |
2157 | 2156 | | |
| |||
0 commit comments