projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/media/tuners/fc2580.c
b/drivers/media/tuners/fc2580.c
index db21902b6e63b68e7ff2bd2b175ecc254fda12f7..12f916e53150158b7dccd726a34ead7821cf5b9b 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;
}