summaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-device.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2020-06-18 13:12:51 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-12-02 15:52:09 +0100
commitd0fbdcbe75950a4f93edcece34622888c4395133 (patch)
tree62c57542a09bc7f7abd8ead911be2206841686ef /drivers/media/v4l2-core/v4l2-device.c
parentaab402ea9b4827f6d8d4a7c58d7492124b493e02 (diff)
downloadlinux-d0fbdcbe75950a4f93edcece34622888c4395133.tar.bz2
media: ccs: Request for "reset" GPIO
The DT bindings documented "reset-gpios" property but the driver never made use of it. Instead it used a GPIO called "xshutdown", with apprently wrong polarity. Fix this by requesting "reset" GPIO with the right polarity first, and if that fails, then request "xshutdown" GPIO with the old polarity. This way it works for new users as expected while if someone, somewhere, depended on "xshutdown" GPIO, that continues to work as well. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-device.c')
0 files changed, 0 insertions, 0 deletions