bus: ti-sysc: suppress err msg for timers used as clockevent/source
PATCH 1/1 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.
--- drivers/bus/ti-sysc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/ti-sysc.c +1 -1
@@ -2883,7 +2883,7 @@ static int sysc_check_active_timer(struct sysc *ddata)if ((ddata->cfg.quirks &SYSC_QUIRK_NO_RESET_ON_INIT ) && (ddata->cfg.quirks &SYSC_QUIRK_NO_IDLE )) -return -EBUSY ; +return -ENXIO ;return 0 ; }
Signature · 1 line
2.17.1
Tony Lindgren
maintainerQuoted 8 lines · Grygorii Strashko
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
-ENXIOinstead of-EBUSY.
Thanks applying into fixes.
Tony