aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t.online.de>2005-11-09 00:38:00 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 10:56:23 -0500
commit95736034df751631657140aebe677e67d7522867 (patch)
treec588da09b52a20411562bbe41b590fe3318bfe60 /drivers/media/video/tuner-core.c
parent48c425965ecbd3472133adb857c2fe0608c053a0 (diff)
[PATCH] v4l: 823: corrected probing code for tda8290
- Corrected probing code for tda8290 Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t.online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index d4786b331467..ee83deb389d7 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -380,8 +380,8 @@ static int tuner_attach(struct i2c_adapter *adap, int addr, int kind)
380 case 0x42: 380 case 0x42:
381 case 0x43: 381 case 0x43:
382 case 0x4a: 382 case 0x4a:
383 case 0x44: 383 case 0x4b:
384 if (tda8290_init(&t->i2c)<0) { 384 if (tda8290_probe(&t->i2c) != 0) {
385 kfree(t); 385 kfree(t);
386 return 0; 386 return 0;
387 } 387 }