commit | 7a10f4732972b48f75a547a42f9cdfef340124a6 | [log] [tgz] |
---|---|---|
author | Daniel Drake <dsd@laptop.org> | Mon Jun 17 11:30:36 2013 -0400 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue Jun 18 18:11:32 2013 +0200 |
tree | 9e8953c887e06377a50d18ab7cd74bc084cd1280 | |
parent | 661f6c1cd926c6c973e03c6b5151d161f3a666ed [diff] |
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>