Lucas Stach 90ad2cbe88 i2c: imx: use clk notifier for rate changes
Instead of repeatedly calling clk_get_rate for each transfer, register
a clock notifier to update the cached divider value each time the clock
rate actually changes.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2018-04-03 15:28:53 +02:00
..
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2017-10-28 14:03:45 +02:00
2014-11-07 18:35:33 +01:00
2016-10-25 11:48:58 +02:00
2014-11-07 18:35:33 +01:00
2017-08-29 22:35:14 +02:00
2014-11-07 18:35:33 +01:00
2017-08-12 13:25:17 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2017-12-12 23:16:04 +01:00
2017-12-12 23:16:04 +01:00
2014-11-07 18:35:33 +01:00