Skip to content
Commit 9b1b0cb0 authored by Dan Carpenter's avatar Dan Carpenter Committed by Mauro Carvalho Chehab
Browse files

media: max2175: fix max2175_set_csm_mode() error code



This is supposed to return negative error codes but the type is bool so
it returns true instead.

Fixes: b47b79d8 ("[media] media: i2c: max2175: Add MAX2175 support")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent dc10472b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment