The patch number 10509 was added via Mauro Carvalho Chehab <mche...@redhat.com>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <linux-me...@vger.kernel.org>

------

From: Mauro Carvalho Chehab  <mche...@redhat.com>
saa7134-video: two int controls lack a step


Fix two broken controls where a step weren't specified. Without a step,
userspace apps won't allow to adjust such controls.

Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com>


---

 linux/drivers/media/video/saa7134/saa7134-video.c |    2 ++
 1 file changed, 2 insertions(+)

diff -r f6f68026eb83 -r e0f2b5e6929d 
linux/drivers/media/video/saa7134/saa7134-video.c
--- a/linux/drivers/media/video/saa7134/saa7134-video.c Mon Feb 09 06:29:54 
2009 -0200
+++ b/linux/drivers/media/video/saa7134/saa7134-video.c Mon Feb 09 06:33:54 
2009 -0200
@@ -452,6 +452,7 @@ static const struct v4l2_queryctrl video
                .name          = "y offset odd field",
                .minimum       = 0,
                .maximum       = 128,
+               .step          = 1,
                .default_value = 0,
                .type          = V4L2_CTRL_TYPE_INTEGER,
        },{
@@ -459,6 +460,7 @@ static const struct v4l2_queryctrl video
                .name          = "y offset even field",
                .minimum       = 0,
                .maximum       = 128,
+               .step          = 1,
                .default_value = 0,
                .type          = V4L2_CTRL_TYPE_INTEGER,
        },{


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/e0f2b5e6929d48e031e9e115af684de45269a910

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to