Skip to content

Commit 65fb736

Browse files
grygoriyStmlind
authored andcommitted
bus: ti-sysc: suppress err msg for timers used as clockevent/source
GP Timers used as clockevent/source are not available for ti-sysc bus and handled by Kernel timekeeping core. Now ti-sysc produces error message every time such timer is detected: "ti-sysc: probe of 48040000.target-module failed with error -16" Such messages are not necessary, so suppress them by returning -ENXIO instead of -EBUSY. Fixes: 6cfcd55 ("clocksource/drivers/timer-ti-dm: Fix suspend and resume for am3 and am4") Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent df85429 commit 65fb736

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/bus/ti-sysc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2889,7 +2889,7 @@ static int sysc_check_active_timer(struct sysc *ddata)
28892889

28902890
if ((ddata->cfg.quirks & SYSC_QUIRK_NO_RESET_ON_INIT) &&
28912891
(ddata->cfg.quirks & SYSC_QUIRK_NO_IDLE))
2892-
return -EBUSY;
2892+
return -ENXIO;
28932893

28942894
return 0;
28952895
}

0 commit comments

Comments
 (0)