]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (9114): dib0700: fix bad assignment of dib0700_xc5000_tuner_callback after...
authorDevin Heitmueller <devin.heitmueller@gmail.com>
Mon, 6 Oct 2008 15:07:48 +0000 (12:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:37:14 +0000 (09:37 -0200)
commit79025a9ed9132880d5197611dec6d8533c121ac7
treeace0f2271fe0342f513566684add9df9367a79fc
parentda703d6262b5d168a4ceb427255cfcf3771b8f96
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>
drivers/media/dvb/dvb-usb/dib0700_devices.c