diff options
author | Gerhard Sittig <gsi@denx.de> | 2013-08-23 18:01:44 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-08-28 10:48:44 +0200 |
commit | b3bfce2bc205ff4fdb4ec0b048513557cef459cf (patch) | |
tree | 5b006b07d78f10705e78e14911f3791de42cf0c6 /CREDITS | |
parent | 498c0146213aa5fbca3b63a6525e91c606c20c5e (diff) | |
download | blackbird-obmc-linux-b3bfce2bc205ff4fdb4ec0b048513557cef459cf.tar.gz blackbird-obmc-linux-b3bfce2bc205ff4fdb4ec0b048513557cef459cf.zip |
i2c: mpc: cleanup clock API use
make the MPC I2C driver get, prepare and enable the gated clock item for
register access during probe; disable and unprepare the clock upon
remove(), put is done by the devm approach; hold a reference to the
clock over the period of use
clock lookup is non-fatal in this implementation as not all platforms
may provide clock specs in their device tree, but failure to enable a
clock when specified is considered fatal
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions