]> git.baikalelectronics.ru Git - kernel.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)
commitae6f388fba668b8a33b611ba0f99e02784dee12b
treea18c38ed07bb5409ef191a180037aca2bd1bbbf4
parentd8ea9db7984e07782dd8a8a59b156d705918ebf7
[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