media: atomisp: add a default case at __get_frame_info()
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 2 Nov 2021 06:49:21 +0000 (06:49 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:11:44 +0000 (08:11 +0000)
commitb2598d9fa6e14a50b932201effe00299162bc06e
treef50e0b8aee1a570d29cd20cedc36c4e311474acf
parent5814f32fef137e34577c4f053272c53e7ca33cd9
media: atomisp: add a default case at __get_frame_info()

The switch() logic there misses a break and a default case.
That makes it more prone to problems as the code change.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c