]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: s2250: Fix write_reg i2c address
authorPete Eberlein <pete@sensoray.com>
Wed, 13 Jan 2010 22:15:48 +0000 (19:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:45 +0000 (15:10 -0300)
commit99666eb026b23ba22ee656c7d17e9bda683bc5af
treea0740c45b51ccfe64c4a70618bb56d0fe46fc448
parent6e21a300cb8c847dc360b7e78a2d613cd02d9b16
V4L/DVB: s2250: Fix write_reg i2c address

The kernel i2c model uses right-aligned 7-bit i2c addresses, but the
2250 firmware uses an 8-bit address in the usb vendor request.  A
previous patch by Jean Delvare shifted the i2c addresses 1 bit to the
right, and this patch fixes the write_reg function to shift it back
before sending the vendor request.

To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Signed-off-by: Pete Eberlein <pete@sensoray.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/go7007/s2250-board.c