]> err.no Git - linux-2.6/commit
V4L/DVB (7360): tuner-simple: fix return value of simple_dvb_configure
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 22 Apr 2008 17:45:56 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:50 +0000 (14:07 -0300)
commita2a7f84b7908c6dba998b43a1ed343aff1d2fd98
tree70a46cfd6cc238d9387081c48892d63d974be88c
parent26cd8972fb5cf673489005bf9b7d16e6f273422b
V4L/DVB (7360): tuner-simple: fix return value of simple_dvb_configure

simple_dvb_configure returns the actual tuned frequency to its caller, so
it must be declared as a u32 rather than an int.  As a result, we will
return 0 to indicate a failure.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-simple.c