]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
i2c: always enable RuntimePM for the adapter device
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 23 Dec 2015 17:19:28 +0000 (18:19 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 10 Jan 2016 08:27:06 +0000 (09:27 +0100)
commit9f924169c0358f630f9b6d26bb3de97360d8647b
tree8666344570e5a32f5df8621ea24a445c99074223
parent8d22f309384cc410da91543f1eb30fe5daf91c3b
i2c: always enable RuntimePM for the adapter device

The adapter device is a logical device. Because of that, it already uses
pm_runtime_no_callbacks() in the core. To ensure proper propagation from
the children (i2c devices) to the parent of the adapter (the HW device),
make sure RuntimePM is enabled in any case.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core.c