Thread (46 messages) flat view 46 messages, 5 authors, 2014-02-24

[PATCH 14/17] i2c: nomadik: Fixup deployment of runtime PM

From: Linus Walleij <hidden>
Date: 2014-02-05 14:34:27
Also in: linux-i2c, linux-mmc, linux-spi, lkml

On Tue, Feb 4, 2014 at 4:58 PM, Ulf Hansson [off-list ref] wrote:
Since the device is active while a successful probe has been completed,
the reference counting for the clock will be screwed up and never reach
zero.

The issue is resolved by implementing runtime PM callbacks and let them
handle the resources accordingly, including the clock.

Cc: Alessandro Rubini <redacted>
Cc: Linus Walleij <redacted>
Cc: Wolfram Sang <redacted>
Signed-off-by: Ulf Hansson <redacted>
Hm do I read it right as patch 13 breaks runtime PM by leaving
the device active after probe() and this patch
14 fixes it again? Maybe these two patches should be squashed
then.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help