Searched hist:b57e90189f208e8e873f532b797f8b649973f7a2 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-rk3x.c | diff b57e90189f208e8e873f532b797f8b649973f7a2 Mon Oct 04 08:15:39 CDT 2021 John Keeping <john@metanate.com> i2c: rk3x: enable clock before getting rate
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@metanate.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Wolfram Sang <wsa@kernel.org>
|