V4L/DVB (5822): Fix the return value in ttpci_budget_init()
authorHartmut Birr <e9hack@googlemail.com>
Mon, 2 Jul 2007 16:39:41 +0000 (13:39 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 3 Jul 2007 18:11:21 +0000 (15:11 -0300)
commit1fb4a17f6e47d86b25bfc4fd9df4301bca09c999
tree79aacb12fcafd9948a47600edb3cf052eb562b94
parent1e4597e8f0049dccedb0e011934007309fa2aeab
V4L/DVB (5822): Fix the return value in ttpci_budget_init()

if the call to budget_register() fails in ttpci_budget_int(),
ttpci_budget_init() returns success. The attached patch will
fix this problem.

Signed-off-by: Hartmut Birr <e9hack@googlemail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/ttpci/budget-core.c