[media] cx23885: Don't use memset on vidioc_ callbacks
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 14 Oct 2011 20:00:19 +0000 (17:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 14 Oct 2011 20:00:19 +0000 (17:00 -0300)
commitd5492fb9ed3f3f25c56b25684072f0d234863b08
treee880da23a80c996a0b6539accfeaed5d385bc8b1
parent97ce5670fcee40b37f75d227ed88dcc51af63140
[media] cx23885: Don't use memset on vidioc_ callbacks

vidioc_g_tuner should not do any memset for the parameters. Core
already does that. In particular, V4L2 core now does some handling
for the tuner type, and the tuner-core module relies on that.

So, doing any memset there is a very bad idea.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-video.c