projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b8021
)
V4L/DVB (7902): fix handling of tea5761_autodetection return value
author
Marcin Slusarz
<
[email protected]
>
Sun, 11 May 2008 22:51:07 +0000
(19:51 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Thu, 5 Jun 2008 09:35:40 +0000
(06:35 -0300)
tea5761_autodetection returns -EINVAL on error
Signed-off-by: Marcin Slusarz <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/common/tuners/tea5761.c
patch
|
blob
|
history
diff --git
a/drivers/media/common/tuners/tea5761.c
b/drivers/media/common/tuners/tea5761.c
index b93cdef9ac73e48b04f5a369da3767e6d46c42d7..b23dadeecd0528ad74d55405948562981b24c234 100644
(file)
--- a/
drivers/media/common/tuners/tea5761.c
+++ b/
drivers/media/common/tuners/tea5761.c
@@
-295,7
+295,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);