Commit 79321a7
r8152: Add RTL8152_INACCESSIBLE to r8153_aldps_en()
Delay loops in r8152 should break out if RTL8152_INACCESSIBLE is set
so that they don't delay too long if the device becomes
inaccessible. Add the break to the loop in r8153_aldps_en().
Fixes: 4214cc5 ("r8152: check if disabling ALDPS is finished")
Reviewed-by: Grant Grundler <grundler@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 8c53a7b commit 79321a7
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5803 | 5803 | | |
5804 | 5804 | | |
5805 | 5805 | | |
| 5806 | + | |
| 5807 | + | |
5806 | 5808 | | |
5807 | 5809 | | |
5808 | 5810 | | |
| |||
0 commit comments