Skip to content
Commit 985ed1d7 authored by Benjamin Mugnier's avatar Benjamin Mugnier Committed by Mauro Carvalho Chehab
Browse files

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: default avatarBenjamin Mugnier <benjamin.mugnier@foss.st.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 5a6cf087
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment