]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: i2c: ds90ub960: Add error handling to multiple places
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Mon, 3 Mar 2025 16:02:08 +0000 (21:32 +0530)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 25 Apr 2025 08:15:05 +0000 (10:15 +0200)
commit8f512c3113756c751811392bc48e146b6a0ba2fd
tree867a0d74f7c566e9032b495752e68cac67245ae5
parent24868501a74402e8b48810dd7223bdc3d7508b3e
media: i2c: ds90ub960: Add error handling to multiple places

The driver is missing checks for i2c read/write errors in many places.
Now that we have added the err parameter to the read/write functions in
the previous patch, add error handling to all the missing places.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/i2c/ds90ub960.c