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:
d8fd9f5
)
[media] m88ds3103: do not return error from get_frontend() when not ready
author
Antti Palosaari
<
[email protected]
>
Tue, 14 Apr 2015 00:00:09 +0000
(21:00 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Sat, 30 May 2015 15:04:16 +0000
(12:04 -0300)
Do not return error from get_frontend() when status is queried, but
the frontend didn't lock yet. The proper behavior is to only update the
cache after having a lock.
[
[email protected]
: fix the patch description]
Signed-off-by: Antti Palosaari <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/dvb-frontends/m88ds3103.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb-frontends/m88ds3103.c
b/drivers/media/dvb-frontends/m88ds3103.c
index d3d928e1c0cece10d413fc60503ae3b6ea5feced..03dceb50863f2859751a1e72c1929f046d8b83c3 100644
(file)
--- a/
drivers/media/dvb-frontends/m88ds3103.c
+++ b/
drivers/media/dvb-frontends/m88ds3103.c
@@
-742,7
+742,7
@@
static int m88ds3103_get_frontend(struct dvb_frontend *fe)
dev_dbg(&priv->i2c->dev, "%s:\n", __func__);
if (!priv->warm || !(priv->fe_status & FE_HAS_LOCK)) {
- ret =
-EAGAIN
;
+ ret =
0
;
goto err;
}