projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab80b19
)
[media] fc2580: add missing error status when probe() fails
author
Antti Palosaari
<crope@iki.fi>
Sat, 6 Jun 2015 11:15:34 +0000
(08:15 -0300)
committer
Mauro Carvalho Chehab
<mchehab@osg.samsung.com>
Tue, 9 Jun 2015 20:22:57 +0000
(17:22 -0300)
We must return -ENODEV error on case probe() fails to detect chip.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/fc2580.c
patch
|
blob
|
history
diff --git
a/drivers/media/tuners/fc2580.c
b/drivers/media/tuners/fc2580.c
index
db21902
..
12f916e
100644
(file)
--- a/
drivers/media/tuners/fc2580.c
+++ b/
drivers/media/tuners/fc2580.c
@@
-571,6
+571,7
@@
static int fc2580_probe(struct i2c_client *client,
case 0x5a:
break;
default:
+ ret = -ENODEV;
goto err_kfree;
}