Thread (4 messages) 4 messages, 4 authors, 2021-10-01

Re: [PATCH v2] hwrng: meson - Improve error handling for core clock

From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Date: 2021-09-21 03:20:45
Also in: linux-amlogic, linux-crypto

On Mon, Sep 20, 2021 at 9:44 AM Uwe Kleine-König
[off-list ref] wrote:
-ENOENT (ie. "there is no clock") is fine to ignore for an optional
clock, other values are not supposed to be ignored and should be
escalated to the caller (e.g. -EPROBE_DEFER). Ignore -ENOENT by using
devm_clk_get_optional().

While touching this code also add an error message for the fatal errors.

Signed-off-by: Uwe Kleine-König <redacted>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
as well as:
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> #
on Odroid-C1

Thank you Uwe!


Best regards,
Martin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help