OSDN Git Service

media: atomisp: better describe get_frame_info issues
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 29 Oct 2021 06:06:38 +0000 (07:06 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:11:41 +0000 (08:11 +0000)
commit331adc2f4081886a6f12392dbcfb17e3512a7160
tree140d034ebecb6f3e9f36c8a3b0f6eea9a9cb85bd
parentfae46cb0531b45c789e39128f676f2bafa3a7b47
media: atomisp: better describe get_frame_info issues

When atomisp is used by a normal client, it fails to get
frame info. However, the information is confusing and misleading,
as there are several wrappers for such function, and the error
could be on different places.

So, improve the error log in order to allow narrowing down
where the error is actually occuring.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_cmd.c
drivers/staging/media/atomisp/pci/atomisp_compat_css20.c