summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-10-13 07:51:16 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-10-13 07:51:16 -0300
commitef7138e66f9b6543dc62506c657ed01618ce8237 (patch)
tree654f63dc87eaf7071b3a4e3d7e556eaed89dbf11 /linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c
parent09079a0af5c7ece49f0e3f98910dd06a5f895e76 (diff)
downloadmediapointer-dvb-s2-ef7138e66f9b6543dc62506c657ed01618ce8237.tar.gz
mediapointer-dvb-s2-ef7138e66f9b6543dc62506c657ed01618ce8237.tar.bz2
Fix oops in VIDIOC_G_PARM
From: Jonathan Corbet <corbet-v4l@lwn.net> The call to v4l2_std_construct() in the VIDIOC_G_PARM handler treats vfd->current_norm as if it were an index - but it's not. The result is an oops if the driver has no vidioc_g_parm() method defined. Here's the fix. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dtt200u-fe.c')
0 files changed, 0 insertions, 0 deletions