diff options
author | 2023-02-01 15:04:15 +0100 | |
---|---|---|
committer | 2023-03-20 00:36:05 +0100 | |
commit | 985ed1d7432eb0a28be190e2b855050cf1f926fd (patch) | |
tree | f08e132fc02db37a6af63e02c290a14619d04c49 /drivers/media/v4l2-core/v4l2-subdev.c | |
parent | media: i2c: st-vgxy61: Remove duplicate default mode set on probe (diff) | |
download | wireguard-linux-985ed1d7432eb0a28be190e2b855050cf1f926fd.tar.xz wireguard-linux-985ed1d7432eb0a28be190e2b855050cf1f926fd.zip |
media: i2c: st-vgxy61: Move 'detect' call to 'power_on'
Previously the device detection was performed after patching.
Move it right after the reset to make sure we have the correct sensor
before trying to patch it.
Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
0 files changed, 0 insertions, 0 deletions