diff options
author | Daniel Drake <dsd@laptop.org> | 2013-06-17 19:30:36 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-06-18 20:11:32 +0400 |
commit | 7a10f4732972b48f75a547a42f9cdfef340124a6 (patch) | |
tree | 9e8953c887e06377a50d18ab7cd74bc084cd1280 /Documentation | |
parent | 661f6c1cd926c6c973e03c6b5151d161f3a666ed (diff) | |
download | linux-7a10f4732972b48f75a547a42f9cdfef340124a6.tar.xz |
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 'Documentation')
0 files changed, 0 insertions, 0 deletions