diff options
| author | Tony Lindgren <[email protected]> | 2021-08-11 05:34:46 +0000 |
|---|---|---|
| committer | Tony Lindgren <[email protected]> | 2021-08-11 05:34:46 +0000 |
| commit | 06a089ef644934372a3062528244fca3417d3430 (patch) | |
| tree | 4fc0963b0c34309b9238d63e02e4eb1cd4f28adf /net/unix/af_unix.c | |
| parent | Merge branch 'fixes-v5.14' into fixes (diff) | |
| download | kernel-06a089ef644934372a3062528244fca3417d3430.tar.gz kernel-06a089ef644934372a3062528244fca3417d3430.zip | |
bus: ti-sysc: Fix error handling for sysc_check_active_timer()
We have changed the return type for sysc_check_active_timer() from -EBUSY
to -ENXIO, but the gpt12 system timer fix still checks for -EBUSY. We are
also not returning on other errors like we did earlier as noted by
Pavel Machek <[email protected]>.
Commit 3ff340e24c9d ("bus: ti-sysc: Fix gpt12 system timer issue with
reserved status") should have been updated for commit 65fb73676112
("bus: ti-sysc: suppress err msg for timers used as clockevent/source").
Let's fix the issue by checking for -ENXIO and returning on any other
errors as suggested by Pavel Machek <[email protected]>.
Fixes: 3ff340e24c9d ("bus: ti-sysc: Fix gpt12 system timer issue with reserved status")
Depends-on: 65fb73676112 ("bus: ti-sysc: suppress err msg for timers used as clockevent/source")
Reported-by: Pavel Machek <[email protected]>
Reviewed-by: Pavel Machek (CIP) <[email protected]>
Cc: Grygorii Strashko <[email protected]>
Cc: Jarkko Nikula <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
