linux/drivers/i2c
Ben Dooks bc8120f17a i2c: rcar: use devm_clk_get to ensure clock is properly ref-counted
The current i2c-rcar driver does clk_get() without a corresponding
clk_put(). Add the clk to the driver private data and then get it
with the devm functions so that it is released when the driver is
unbound.

Note, we do not call clk_prepare_enable() at this point due to the
very possible magic that is being done by the pm_runtime system
underneath the driver.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2014-01-26 22:48:34 +01:00
..
algos i2c: delete non-required instances of include <linux/init.h> 2014-01-24 18:24:31 +01:00
busses i2c: rcar: use devm_clk_get to ensure clock is properly ref-counted 2014-01-26 22:48:34 +01:00
muxes i2c: delete non-required instances of include <linux/init.h> 2014-01-24 18:24:31 +01:00
i2c-boardinfo.c
i2c-core.c i2c: rely on driver core when sanitizing devices 2014-01-24 19:52:25 +01:00
i2c-core.h
i2c-dev.c
i2c-mux.c i2c: mux: Inherit retry count and timeout from parent for muxed bus 2013-12-12 22:39:28 +01:00
i2c-smbus.c
i2c-stub.c
Kconfig
Makefile