projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
V4L/DVB (7902): fix handling of tea5761_autodetection return value
[deliverable/linux.git]
/
drivers
/
media
/
common
/
tuners
/
tea5761.c
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);
This page took
0.032027 seconds
and
5
git commands to generate.