Files
linux/drivers/media/i2c
Marco Felsch 2d29bcc8c2 media: tvp5150: fix switch exit in set control handler
The function only consists of a single switch case block without a
default case. Unsupported control requests are indicated by the -EINVAL
return code trough the last return statement at the end of the function. So
exiting just the switch case block returns the -EINVAL error code but the
hue control is supported and a zero should be returned instead.

Replace the break by a 'return 0' to fix this behaviour.

Fixes: d183e4efca ("[media] v4l: tvp5150: Add missing break in set
control handler")

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-09-17 13:20:57 -04:00
..
2018-07-24 14:54:05 -04:00
2018-09-11 13:32:17 -04:00
2018-08-31 09:13:42 -04:00
2018-09-11 13:32:17 -04:00
2018-09-11 13:32:17 -04:00
2018-09-17 13:16:19 -04:00
2018-03-23 07:48:08 -04:00