mbox series

[v2,0/4] Enable sensor's runtime PM before registering async sub-dev

Message ID 20231122025411.2961572-1-bingbu.cao@intel.com (mailing list archive)
Headers show
Series Enable sensor's runtime PM before registering async sub-dev | expand

Message

Cao, Bingbu Nov. 22, 2023, 2:54 a.m. UTC
From: Bingbu Cao <bingbu.cao@intel.com>

Following Sakari's patch:
<URL:https://lore.kernel.org/linux-media/20231102090752.1418132-1-sakari.ailus@linux.intel.com/>

The sensor device maybe accessible right after its async sub-device is
registered, so runtime PM should be ready before its async sub-device
is registered.

---
v1->v2: move pm_runtime_idle() together with pm_runtime_enable()
---

Bingbu Cao (4):
  media: imx355: Enable runtime PM before registering async sub-device
  media: ov01a10: Enable runtime PM before registering async sub-device
  media: ov13b10: Enable runtime PM before registering async sub-device
  media: ov9734: Enable runtime PM before registering async sub-device

 drivers/media/i2c/imx355.c  | 12 +++++++-----
 drivers/media/i2c/ov01a10.c | 11 +++++++----
 drivers/media/i2c/ov13b10.c | 13 ++++++++-----
 drivers/media/i2c/ov9734.c  | 18 ++++++++++--------
 4 files changed, 32 insertions(+), 22 deletions(-)