The patch number 8422 was added via Hans Verkuil <[EMAIL PROTECTED]>
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:
        [EMAIL PROTECTED]

------

From: Hans Verkuil  <[EMAIL PROTECTED]>
cs5345: fix incorrect mask with VIDIOC_DBG_S_REGISTER


Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>


---

 linux/drivers/media/video/cs5345.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r 3d8874db4b49 -r 31f58d666d39 linux/drivers/media/video/cs5345.c
--- a/linux/drivers/media/video/cs5345.c        Fri Jul 18 08:35:40 2008 -0300
+++ b/linux/drivers/media/video/cs5345.c        Sat Jul 19 01:14:31 2008 +0200
@@ -117,7 +117,7 @@ static int cs5345_command(struct i2c_cli
                if (cmd == VIDIOC_DBG_G_REGISTER)
                        reg->val = cs5345_read(client, reg->reg & 0x1f);
                else
-                       cs5345_write(client, reg->reg & 0x1f, reg->val & 0x1f);
+                       cs5345_write(client, reg->reg & 0x1f, reg->val & 0xff);
                break;
        }
 #endif


---

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

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to