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:
4afdd89
)
ASoC: tas2552: Call pm_runtime_disable when the module is removed
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Mon, 8 Jun 2015 12:19:53 +0000
(15:19 +0300)
committer
Mark Brown
<broonie@kernel.org>
Mon, 8 Jun 2015 17:53:18 +0000
(18:53 +0100)
The module can not be loaded again after it has been removed.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2552.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/tas2552.c
b/sound/soc/codecs/tas2552.c
index 5e6490c19b7e56dad42bd203e990f86eeeeec982..7e65294f5244d3f1a12d2e54b0a6dbc465e5e1ef 100644
(file)
--- a/
sound/soc/codecs/tas2552.c
+++ b/
sound/soc/codecs/tas2552.c
@@
-751,6
+751,7
@@
static int tas2552_probe(struct i2c_client *client,
static int tas2552_i2c_remove(struct i2c_client *client)
{
snd_soc_unregister_codec(&client->dev);
+ pm_runtime_disable(&client->dev);
return 0;
}