]> git.baikalelectronics.ru Git - kernel.git/commit
bus: bt1-axi: Don't print error on -EPROBE_DEFER
authorBaikal Electronics <support@baikalelectronics.ru>
Fri, 10 Jun 2022 10:40:30 +0000 (13:40 +0300)
committerArnd Bergmann <arnd@arndb.de>
Tue, 14 Jun 2022 10:21:44 +0000 (12:21 +0200)
commit35bd51051dd6069eee139fe386944f397804ebc6
treec42e8de19875901eb88a97eefd4e802f1b13e861
parentdc1d1d0e921d64f2e8f0e7ef4616e0e7f09e097c
bus: bt1-axi: Don't print error on -EPROBE_DEFER

The Baikal-T1 AXI bus driver correctly handles the deferred probe
situation, but still pollutes the system log with a misleading error
message. Let's fix that by using the dev_err_probe() method to print the
log message in case of the clocks/resets request errors.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20220610104030.28399-2-Sergey.Semin@baikalelectronics.ru'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/bus/bt1-axi.c