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")
Unified · Split
| @@ -818,6 +818,7 @@ static int tvp5150_s_ctrl(struct v4l2_ctrl *ctrl) · 817 unmodified lines | |||
| 818 | return 0; | 818 | return 0; |
| 819 | case V4L2_CID_HUE: | 819 | case V4L2_CID_HUE: |
| 820 | tvp5150_write(sd, TVP5150_HUE_CTL, ctrl->val); | 820 | tvp5150_write(sd, TVP5150_HUE_CTL, ctrl->val); |
| 821 | break; | ||
| 821 | case V4L2_CID_TEST_PATTERN: | 822 | case V4L2_CID_TEST_PATTERN: |
| 822 | decoder->enable = ctrl->val ? false : true; | 823 | decoder->enable = ctrl->val ? false : true; |
| 823 | tvp5150_selmux(sd); | 824 | tvp5150_selmux(sd); |