diff options
author | Daniel Drake <dsd@laptop.org> | 2013-06-17 17:30:36 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-06-18 18:11:32 +0200 |
commit | 7a10f4732972b48f75a547a42f9cdfef340124a6 (patch) | |
tree | 9e8953c887e06377a50d18ab7cd74bc084cd1280 /Makefile | |
parent | Revert "i2c: core: make it possible to match a pure device tree driver" (diff) | |
download | linux-7a10f4732972b48f75a547a42f9cdfef340124a6.tar.xz 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 'Makefile')
0 files changed, 0 insertions, 0 deletions