media: atomisp: Remove atomisp_sensor_start_stream()
authorHans de Goede <hdegoede@redhat.com>
Tue, 9 May 2023 21:12:16 +0000 (22:12 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 9 Jun 2023 13:36:09 +0000 (14:36 +0100)
commit1ae393ea3dbc0a75f1eb460d32d56a4f18dfd684
tree81513f893d9919163cd2cde5f55be4ea34b18af2
parent820a1338d6a14bde0de7ed57cf486c31798a9619
media: atomisp: Remove atomisp_sensor_start_stream()

Now that we no longer have continuous mode we always want to
start the sensor on the first atomisp_start_streaming() call
and stop it on the first atomisp_stop_streaming() call.

Remove atomisp_sensor_start_stream() which returned the number
of streams which should be active before starting the sensor
and always start/stop the sensor directly.

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/pci/atomisp_ioctl.c