summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/tuners/tea5761.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-05-26 12:06:54 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-05-26 12:06:54 -0300
commit2224352436462570837c39e7a12ed6f98a96986f (patch)
tree35270051c3b3797885309d3975b897264624c822 /linux/drivers/media/common/tuners/tea5761.c
parent2a273893a153bd7311b488785d4ced28ff9967c2 (diff)
parentcf2c310a0889cdeb0bc711e69833b77007717bcd (diff)
downloadmediapointer-dvb-s2-2224352436462570837c39e7a12ed6f98a96986f.tar.gz
mediapointer-dvb-s2-2224352436462570837c39e7a12ed6f98a96986f.tar.bz2
merge: http://linuxtv.org/hg/~mcisely/pvrusb2
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/common/tuners/tea5761.c')
-rw-r--r--linux/drivers/media/common/tuners/tea5761.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/common/tuners/tea5761.c b/linux/drivers/media/common/tuners/tea5761.c
index 11e2991ef..f5fadcd4b 100644
--- a/linux/drivers/media/common/tuners/tea5761.c
+++ b/linux/drivers/media/common/tuners/tea5761.c
@@ -301,7 +301,7 @@ struct dvb_frontend *tea5761_attach(struct dvb_frontend *fe,
{
struct tea5761_priv *priv = NULL;
- if (tea5761_autodetection(i2c_adap, i2c_addr) == EINVAL)
+ if (tea5761_autodetection(i2c_adap, i2c_addr) != 0)
return NULL;
priv = kzalloc(sizeof(struct tea5761_priv), GFP_KERNEL);