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:
b1d1505
)
ASoC: rt5616: Return error if device ID mismatch
author
Axel Lin
<axel.lin@ingics.com>
Tue, 22 Dec 2015 02:16:35 +0000
(10:16 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 22 Dec 2015 23:51:53 +0000
(23:51 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5616.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt5616.c
b/sound/soc/codecs/rt5616.c
index f4005cbaa99dee8cb2c208d6620774caf554fc12..0e9414abab65254e9ec03201bbddda56f19bcaa7 100644
(file)
--- a/
sound/soc/codecs/rt5616.c
+++ b/
sound/soc/codecs/rt5616.c
@@
-1314,7
+1314,7
@@
static int rt5616_i2c_probe(struct i2c_client *i2c,
dev_err(&i2c->dev,
"Device with ID register %#x is not rt5616\n",
val);
- ret
=
-ENODEV;
+ ret
urn
-ENODEV;
}
regmap_write(rt5616->regmap, RT5616_RESET, 0);
regmap_update_bits(rt5616->regmap, RT5616_PWR_ANLG1,