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

Wolfram Sang wsa at kernel.org
Sun Nov 21 23:39:20 PST 2021


On Sun, Nov 21, 2021 at 07:00:55PM +0100, Heiko Stübner wrote:
> Am Montag, 4. Oktober 2021, 15:15:39 CET schrieb John Keeping:
> > 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>
> 
> Reviewed-by: Heiko Stuebner <heiko at sntech.de>
> 
> Do you maybe want to repost and include the actual i2c-maintainers
> in the recipient list?

No need. This is in patchwork and now has a Rev-by. Good enough.

Thanks for the review!

-------------- 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/20211122/9e7269e2/attachment-0001.sig>


More information about the linux-arm-kernel mailing list