diff options
author | Jacopo Mondi <jacopo+renesas@jmondi.org> | 2021-06-16 14:46:07 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-17 11:29:51 +0200 |
commit | ad01032aaf437c526d7135384bb4f998828d0cfc (patch) | |
tree | 7e3f1afa0b019e2b3142cf6736df90a6fa565010 /drivers/media/i2c/cs5345.c | |
parent | 4ff5278dcef900879252556a51b74b33efb06623 (diff) |
media: i2c: max9271: Check max9271_write() return
Check the return value of the max9271_write() function in the
max9271 library driver.
While at it, modify an existing condition to be made identical
to other checks.
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/i2c/cs5345.c')
0 files changed, 0 insertions, 0 deletions