History

[media] v4l: tvp5150: Add missing break in set control handler

A break is missing resulting in the hue control enabling or disabling the decode completely. Fix it. Fixes: c43875f66140 ("[media] tvp5150: replace MEDIA_ENT_F_CONN_TEST by a control")

Laurent Pinchart committed 9 years ago

Commit d183e4e1 parent 6e98bee1 file · +1 −0Browse files

Unified · Split

drivers/media/i2c/tvp5150.c+1−0
@@ -818,6 +818,7 @@ static int tvp5150_s_ctrl(struct v4l2_ctrl *ctrl) · 817 unmodified lines
818818 return 0;
819819 case V4L2_CID_HUE:
820820 tvp5150_write(sd, TVP5150_HUE_CTL, ctrl->val);
821+ break;
821822 case V4L2_CID_TEST_PATTERN:
822823 decoder->enable = ctrl->val ? false : true;
823824 tvp5150_selmux(sd);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t