diff options
| author | Dan Carpenter <error27@gmail.com> | 2023-02-22 16:59:51 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-05-25 16:21:21 +0200 |
| commit | 1b3565dbc6aa124f34674e3dcf6966f663817e05 (patch) | |
| tree | 63e4ed9ec631161804c824b4af6325fd9ee8f971 /Documentation/userspace-api | |
| parent | 2674486aac7d9c95ceb77daf7c30f862d4295c1c (diff) | |
media: i2c: imx296: fix error checking in imx296_read_temperature()
The "& IMX296_TMDOUT_MASK" means that "tmdout" can't be negative so the
error checking will not work.
Fixes: cb33db2b6ccf ("media: i2c: IMX296 camera sensor driver")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'Documentation/userspace-api')
0 files changed, 0 insertions, 0 deletions
