git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
661f6c1
)
i2c-pxa: prepare clock before use
author
Daniel Drake
<dsd@laptop.org>
Mon, 17 Jun 2013 15:30:36 +0000
(11:30 -0400)
committer
Wolfram Sang
<wsa@the-dreams.de>
Tue, 18 Jun 2013 16:11:32 +0000
(18:11 +0200)
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>
drivers/i2c/busses/i2c-pxa.c
patch
|
blob
|
history
diff --cc
drivers/i2c/busses/i2c-pxa.c
Simple merge