diff options
author | Daniel Drake <dsd@laptop.org> | 2013-06-17 11:30:36 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-06-18 18:11:32 +0200 |
commit | 7a10f4732972b48f75a547a42f9cdfef340124a6 (patch) | |
tree | 9e8953c887e06377a50d18ab7cd74bc084cd1280 /drivers/i2c/busses/i2c-mpc.c | |
parent | 661f6c1cd926c6c973e03c6b5151d161f3a666ed (diff) | |
download | talos-op-linux-7a10f4732972b48f75a547a42f9cdfef340124a6.tar.gz talos-op-linux-7a10f4732972b48f75a547a42f9cdfef340124a6.zip |
i2c-pxa: prepare clock before use
On OLPC XO-1.75 (MMP2), a WARN_ON() was occurring during boot
since the clock being enabled by i2c-pxa had not been prepared.
Use clk_prepare_enable() to ensure that the prepare operation
has taken place, and use clk_disable_unprepare() in the matching
shutdown paths.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-mpc.c')
0 files changed, 0 insertions, 0 deletions