[media] 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)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 5 Sep 2016 18:26:30 +0000 (15:26 -0300)
commit1871d718a9db649b70f0929d2778dc01bc49b286
tree6847223473667122ed052f9490e27dbeef9ecee5
parent505a0ea706fc1db4381baa6c6bd2e596e730a55e
[media] cx231xx: don't return error on success

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.

Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/cx231xx/cx231xx-avcore.c