[media] stk-webcam: zero the priv field of v4l2_pix_format
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 4 Feb 2013 12:18:14 +0000 (09:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:42:38 +0000 (14:42 -0300)
commit8407653f5e2b9805958e0a392c0411ce027a3934
tree1356105b18575dac3758484d81421cd11d8e8648
parentb27763f0faad374e215a474389ff5949e0b40764
[media] stk-webcam: zero the priv field of v4l2_pix_format

The priv field should be set to 0. In this case the driver abused the priv
field for internal housekeeping. Modify the code so priv is no longer used
for that purpose.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/stkwebcam/stk-webcam.c