media: i2c: dw9714: add optional regulator support
authorAngus Ainslie <angus@akkea.ca>
Thu, 20 Jan 2022 11:14:53 +0000 (12:14 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 28 Jan 2022 18:32:49 +0000 (19:32 +0100)
commit932de2cd49943faf03b2c99eaebcd30c402bed0c
tree0ba57c425b66e05a84621c27b10fa79eafb04e23
parent54ade663d4bb606e23dbc4e0d49e2e9837dbb33f
media: i2c: dw9714: add optional regulator support

Allow the dw9714 to control a regulator and adjust suspend() and resume()
to support both runtime and system pm.

Signed-off-by: Angus Ainslie <angus@akkea.ca>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/dw9714.c