summaryrefslogtreecommitdiffstats
path: root/arch/unicore32
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-02-17 16:20:41 +0100
committerWolfram Sang <wsa@the-dreams.de>2014-03-05 17:10:32 +0100
commite46d397550835fc41eeaee08afb37ddeb6a01e72 (patch)
tree3b9e2e2905afc128af8905656ddd91146e7d31cc /arch/unicore32
parenti2c: nomadik: Remove redundant call to pm_runtime_disable (diff)
downloadlinux-e46d397550835fc41eeaee08afb37ddeb6a01e72.tar.xz
linux-e46d397550835fc41eeaee08afb37ddeb6a01e72.zip
i2c: nomadik: Fixup deployment of runtime PM
Since the runtime PM state is expected to be active according to the amba bus, we must align our behaviour while probing to it. Moreover, this is needed to be able to have the driver fully functional without depending on CONFIG_RUNTIME_PM. 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. We resolve this by implementing runtime PM callbacks and let them handle the resources accordingly, including the clock. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> [wsa: s/#if/#ifdef/] Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions