media: atomisp: gc0310: Delay power-on till streaming is started
authorHans de Goede <hdegoede@redhat.com>
Sun, 5 Feb 2023 13:32:27 +0000 (13:32 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 09:36:42 +0000 (10:36 +0100)
commitb6763b2247ad43603659309f6455256c137d98d1
tree5e24e6a32dcac9046d4e103bb0a6ffe59e925708
parent9783b96a1e0a38c70a58eec90c9b64d2f7377fe9
media: atomisp: gc0310: Delay power-on till streaming is started

Move the setting of the mode to stream on, this also allows
delaying power-on till streaming is started.

And drop the deprecated s_power callback since this now no long
is necessary.

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