]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: i2c: imx335: Improve configuration error reporting
authorKieran Bingham <kieran.bingham@ideasonboard.com>
Mon, 11 Dec 2023 12:59:45 +0000 (18:29 +0530)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 13 Dec 2023 12:21:21 +0000 (13:21 +0100)
commit1af87779e9f7dcdd4f219b355ae090ca18028540
tree5013b507f34830e10a63dac8db0fe3113bee76e4
parentd5ca45b8b91ea40696aaceb3f93d207b25b26d50
media: i2c: imx335: Improve configuration error reporting

The existing imx335_parse_hw_config function has two paths
that can be taken without reporting to the user the reason
for failing to accept the hardware configuration.

Extend the error reporting paths to identify failures when
probing the device.

Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/imx335.c