[PATCH] i2c: rk3x: enable clock before getting rate

Wolfram Sang wsa at kernel.org
Mon Nov 29 01:40:02 PST 2021


On Mon, Oct 04, 2021 at 02:15:39PM +0100, John Keeping wrote:
> clk_get_rate() is documented as requiring the clock to be enabled.
> Ensure that the bus clock is enabled before calling clk_get_rate() in
> rk3x_i2c_probe() to satisfy this requirement.
> 
> Signed-off-by: John Keeping <john at metanate.com>

Doesn't look like an urgent bugfix, so applied to for-next, thanks! Let
me know if it should go to for-current instead.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20211129/91a96ca9/attachment.sig>


More information about the linux-arm-kernel mailing list