]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bus: bt1-apb: Don't print error on -EPROBE_DEFER
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Fri, 10 Jun 2022 10:40:29 +0000 (13:40 +0300)
committerArnd Bergmann <arnd@arndb.de>
Tue, 14 Jun 2022 10:21:44 +0000 (12:21 +0200)
commitbe5cddef05f519a321a543906f255ac247246074
tree18ea3162d01ff21983f8e4552c7a023d4576f043
parent965890425271b6a35a07b85384f4a6e4fc517322
bus: bt1-apb: Don't print error on -EPROBE_DEFER

The Baikal-T1 APB 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-1-Sergey.Semin@baikalelectronics.ru'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/bus/bt1-apb.c