]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] cx231xx-417: fix g/try_fmt compliance problems
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 29 Jan 2013 16:02:15 +0000 (13:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:26:03 +0000 (14:26 -0300)
commit5aa95991d7ff15ca965ef5abe91f90afeb262afd
treea18c38ed07bb5409ef191a180037aca2bd1bbbf4
parentbc08734c825b710ffab93f79ca1ca2d0265dd321
[media] cx231xx-417: fix g/try_fmt compliance problems

Colorspace, field and priv were not set, and sizeimage was calculated
using the wrong values (dev->ts1.ts_packet_size and dev->ts1.ts_packet_count
can be 0 at module load).

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/cx231xx/cx231xx-417.c