]> git.baikalelectronics.ru Git - kernel.git/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)
commit297930933af1e4802a20e19d51777a3e25309bab
tree70a46cfd6cc238d9387081c48892d63d974be88c
parentaf6ce132f1000113bcdb3de138aad81fc72e6900
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