Skip to contentSkip to conversation

Patch "[media] v4l: tvp5150: Add missing break in set control handler" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Jan 6, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

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

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
v4l-tvp5150-add-missing-break-in-set-control-handler.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From d183e4efcae8d88a2f252e546978658ca6d273cc Mon Sep 17 00:00:00 2001

From: Laurent Pinchart <[email protected]>
Date: Thu, 8 Dec 2016 20:22:43 -0200
Subject: [media] v4l: tvp5150: Add missing break in set control handler

From: Laurent Pinchart <[email protected]>

commit d183e4efcae8d88a2f252e546978658ca6d273cc upstream.

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")
---
 drivers/media/i2c/tvp5150.c |    1 +
 1 file changed, 1 insertion(+)
drivers/media/i2c/tvp5150.c +1 -0
@@ -815,6 +815,7 @@ static int tvp5150_s_ctrl(struct v4l2_ct
 		return 0;
 	case V4L2_CID_HUE:
 		tvp5150_write(sd, TVP5150_HUE_CTL, ctrl->val);
+		break;
 	case V4L2_CID_TEST_PATTERN:
 		decoder->enable = ctrl->val ? false : true;
 		tvp5150_selmux(sd);

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/v4l-tvp5150-add-missing-break-in-set-control-handler.patch