diff options
author | Devin Heitmueller <devin.heitmueller@gmail.com> | 2008-10-06 12:07:48 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 09:37:14 -0200 |
commit | 79025a9ed9132880d5197611dec6d8533c121ac7 (patch) | |
tree | ace0f2271fe0342f513566684add9df9367a79fc /drivers/media/video/usbvision/usbvision-i2c.c | |
parent | da703d6262b5d168a4ceb427255cfcf3771b8f96 (diff) | |
download | linux-79025a9ed9132880d5197611dec6d8533c121ac7.tar.gz linux-79025a9ed9132880d5197611dec6d8533c121ac7.tar.bz2 linux-79025a9ed9132880d5197611dec6d8533c121ac7.zip |
V4L/DVB (9114): dib0700: fix bad assignment of dib0700_xc5000_tuner_callback after return call
Put callback definition before function return and cleanup callback:
Fix a bug where the xc5000 callback was being set *after* the
return call (essentially resulting in dead code).
Also cleanup the callback function to detect unknown commands.
Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-i2c.c')
0 files changed, 0 insertions, 0 deletions