media: atomisp: gc0310: Remove read-only exposure control
authorHans de Goede <hdegoede@redhat.com>
Sat, 4 Feb 2023 15:41:28 +0000 (15:41 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 09:34:27 +0000 (10:34 +0100)
commit51e4d56cfee72352f6ae3cd0eefeeeaf2d1671e1
treee005a42d436bdcd2ee37116047f7d8e54338bc47
parentc1c356e9c6fdf8e6de76637715043664652a2005
media: atomisp: gc0310: Remove read-only exposure control

The sensor does not have automatic exposure so the exposure cannot
change underneath us.

And the control is not marked volatile in it flags,
so the .g_volatile_ctrl callback will never get called.

Remove the current broken read-only (no s_ctrl implementation)
exposure ctrl, this will be replaced with a proper r/w exposure
control relying on the kernel caching the last set value
(so non volatile).

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c