diff options
| author | Marco Felsch <[email protected]> | 2018-06-28 12:20:34 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-09-17 13:20:57 -0400 |
| commit | 2d29bcc8c237874795175b2930fa9a45a115175a (patch) | |
| tree | 9dc8d0cbe2d684dd426aa21fd751ca4899fcbed7 /tools/perf/scripts/python | |
| parent | bd24db04101f45a9c1d874fe21b0c7eab7bcadec (diff) | |
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: d183e4efcae8 ("[media] v4l: tvp5150: Add missing break in set
control handler")
Signed-off-by: Marco Felsch <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions