media: atomisp: Drop atomisp_get_css_buf_type()
authorHans de Goede <hdegoede@redhat.com>
Sun, 7 May 2023 17:38:10 +0000 (18:38 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 9 Jun 2023 13:29:21 +0000 (14:29 +0100)
commit006f27897cbdbe02bb3b307118e7a6e25543b516
tree30cd13bfb3035f446ee3f870c24e9b47cbb370bb
parent1b9a80a47dbfc871867845350fcc519ea5181418
media: atomisp: Drop atomisp_get_css_buf_type()

Since continuous mode has been removed, there no longer is the option for
separate capture output + viewfinder output streams at the same time.

So all buffers queued by userspace are now for the normal output stream,
remove atomisp_get_css_buf_type() and always use
IA_CSS_BUFFER_TYPE_OUTPUT_FRAME for buffers queued by userspace.

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_fops.c