commit | 90ad2cbe88c22d0215225ab9594eeead0eb24fde | [log] [tgz] |
---|---|---|
author | Lucas Stach <l.stach@pengutronix.de> | Thu Mar 08 14:25:17 2018 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue Apr 03 15:28:53 2018 +0200 |
tree | ec3fd0b9c8d786855232fe442dbdfb16bf5ef09c | |
parent | 398432eddea4197880a067718e2711d3f5f11d18 [diff] |
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>