]> git.baikalelectronics.ru Git - kernel.git/commit
misc: eeprom: at24: support pm_runtime control
authorBibby Hsieh <bibby.hsieh@mediatek.com>
Thu, 23 Jan 2020 11:52:57 +0000 (12:52 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 23 Jan 2020 11:52:57 +0000 (12:52 +0100)
commit706d3fa891daa8c9971b8a3f29da755a65d51c2e
tree33206e3fd7f9767618923154b5fd638cc835a9f0
parentc6c2b9635917918b2a44c925144727d70a0d2909
misc: eeprom: at24: support pm_runtime control

Although in the most platforms, the power of eeprom are alway
on, some platforms disable the eeprom power in order to meet
low power request. This patch add the pm_runtime ops to control
power to support all platforms.

Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
[Bartosz: rebased on top of current at24/for-next]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/misc/eeprom/at24.c