]> Gentwo Git Trees - linux/.git/commit
clk: bcm: rpi: Add missing logs if firmware fails
authorStefan Wahren <wahrenst@gmx.net>
Thu, 31 Jul 2025 21:06:17 +0000 (18:06 -0300)
committerStephen Boyd <sboyd@kernel.org>
Sun, 21 Sep 2025 16:09:21 +0000 (09:09 -0700)
commit072ce917bf95fc31f3c8c106b71a31e8607553ce
tree12634b48c1b28a3cdd64405678be7ce621b995da
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
clk: bcm: rpi: Add missing logs if firmware fails

In contrary to raspberrypi_fw_set_rate(), the ops for is_prepared() and
recalc_rate() silently ignore firmware errors by just returning 0.
Since these operations should never fail, add at least error logs
to inform the user.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Signed-off-by: MaĆ­ra Canal <mcanal@igalia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/bcm/clk-raspberrypi.c