[media] [REVIEW] em28xx: fix bytesperline calculation in TRY_FMT
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 6 Feb 2013 11:14:47 +0000 (08:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 8 Feb 2013 19:26:24 +0000 (17:26 -0200)
commite6066dba444903344c843dbdcb77a4823c51e7e3
tree8c45c23c2b3850305e24ab058bac59a0453f79ef
parentcc318180c8ec87ce692d1fbb22923f9e05871197
[media] [REVIEW] em28xx: fix bytesperline calculation in TRY_FMT

The bytesperline calculation was incorrect: it used the old width instead of
the provided width. Fixed.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-video.c