]> git.baikalelectronics.ru Git - kernel.git/commit
bus: ti-sysc: suppress err msg for timers used as clockevent/source
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 18 Nov 2020 14:19:00 +0000 (16:19 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 19 Nov 2020 09:05:48 +0000 (11:05 +0200)
commit64d55c270347d53d7ebb3761c772a8269c21c8dd
tree1de055b52ee49b4f5f8c39613aaab8c573ea35dd
parentb50505c35fe2701e2b4a8b10ebcd68badd8cca4c
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: 36a468c88f3b ("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>
drivers/bus/ti-sysc.c