[media] af9035: fix broken I2C and USB I/O
authorAntti Palosaari <crope@iki.fi>
Wed, 27 Nov 2013 20:23:00 +0000 (17:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 4 Dec 2013 17:22:58 +0000 (15:22 -0200)
commit9323297dc0ea9141f8099e474657391bb3ad98f8
tree7259406310102cdf5b27048bf4eeb5046ef01645
parent3af41a337a5b270de3e65466a07f106ad97ad0c6
[media] af9035: fix broken I2C and USB I/O

There was three small buffer len calculation bugs which caused
driver non-working. These are coming from recent commit:
commit 7760e148350bf6df95662bc0db3734e9d991cb03
[media] af9035: Don't use dynamic static allocation

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: stable@vger.kernel.org
drivers/media/usb/dvb-usb-v2/af9035.c