media: atomisp: Make atomisp_g_fmt_cap() default to YUV420
authorHans de Goede <hdegoede@redhat.com>
Sun, 16 Oct 2022 18:00:07 +0000 (19:00 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 08:16:30 +0000 (08:16 +0000)
commit7bc1bfa562a81e5023eb8e6bb715c2de45631123
treee2f3954d0a09e0218a8f5058c5147f0ec6f64b1f
parent57e1222e8f9b08058bfe487478c14c624d03fd00
media: atomisp: Make atomisp_g_fmt_cap() default to YUV420

Make atomisp_g_fmt_cap() default to YUV420 so that it matches with what
atomisp_try_fmt_cap() and atomisp_queue_setup() do when they need to
pick a default pixelformat.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
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