commit | 1f29c438707d00c27d2ab737a4626bdbe2f98276 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Mar 04 15:23:12 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 30 11:53:24 2020 +0100 |
tree | 89f4f1ddbbd108d2daff09e9365a61798cb6abfe | |
parent | 1108b0f4920decba745e4f4df21d679bb61dce48 [diff] |
media: max2175: fix max2175_set_csm_mode() error code [ Upstream commit 9b1b0cb0636166187478ef68d5b95f5caea062ec ] This is supposed to return negative error codes but the type is bool so it returns true instead. Fixes: b47b79d8a231 ("[media] media: i2c: max2175: Add MAX2175 support") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>