V4L/DVB (13188): xc5000: return an error on tuning attempts if firmware not loaded
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Wed, 14 Oct 2009 02:44:14 +0000 (23:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:48 +0000 (18:40 -0200)
commit760c466c66db40cde5953e93b94ae20c7610fb20
tree9046a9b790ecca6b895c67634dd982f43af417bb
parent36a91879d85396ea6470d3a5bde8287e40b5a0e9
V4L/DVB (13188): xc5000: return an error on tuning attempts if firmware not loaded

Xc5000 tuning attempts shouldn't return zero in the case where the firmware
did not load successfully.

Thanks to Michael Krufky for pointing out this issue.

Cc: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/xc5000.c