[media] cx18: fix kernel oops when setting MPEG control before capturing
commit7ee9e64a3d7379fd443090880158374181f754cf
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 25 Jan 2011 21:25:39 +0000 (25 18:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:19 +0000 (21 20:32 -0300)
tree781e8f25c49850125101fb8be13880b89ad9f54d
parent2f2710bd4ee11a06e4c87956be4733566e288a2e
[media] cx18: fix kernel oops when setting MPEG control before capturing

The cxhdl->priv field was not set initially, only after capturing started.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-driver.c