media: ov8856: Add runtime PM callbacks
authorHidenori Kobayashi <hidenorik@chromium.org>
Wed, 21 Sep 2022 09:24:17 +0000 (18:24 +0900)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 25 Oct 2022 11:31:51 +0000 (14:31 +0300)
commit08304923d31781f52281290b8248f4b9a8afe29c
treeb28b2d48af63d93aa5c169ea392563b0f942096f
parent9fce241660f37d9e95e93c0ae6fba8cfefa5797b
media: ov8856: Add runtime PM callbacks

There were no runtime PM callbacks registered, leaving regulators being
enabled while the device is suspended on DT systems. Adjust and register
existing power controlling functions to turn them off/on.

Signed-off-by: Hidenori Kobayashi <hidenorik@chromium.org>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
drivers/media/i2c/ov8856.c