cx231xx: don't return error on success
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 4 Sep 2016 12:56:33 +0000 (09:56 -0300)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Feb 2017 10:04:02 +0000 (11:04 +0100)
commit9865f08984e14a1cc9f40ecfd468d59c92e1f3ce
tree0f9d98ecb696b339c0f2657f2d16dd5af602d21d
parente3ba79c75a04914e3f398ac6bcda1b0c3b7fb787
cx231xx: don't return error on success

commit 1871d718a9db649b70f0929d2778dc01bc49b286 upstream.

The cx231xx_set_agc_analog_digital_mux_select() callers
expect it to return 0 or an error. Returning a positive value
makes the first attempt to switch between analog/digital to fail.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/media/usb/cx231xx/cx231xx-avcore.c