diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2015-06-08 08:19:53 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-08 13:53:18 -0400 |
commit | 4785ed89f2ec6ccdd48eae7acab3dbc2c63e4ca6 (patch) | |
tree | 105057d45efd4bcdb7810450d357b41f24d6e646 /sound/soc | |
parent | 4afdd89df0bd094015b2cc7504421ec3ece3ae35 (diff) |
ASoC: tas2552: Call pm_runtime_disable when the module is removed
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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/tas2552.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tas2552.c b/sound/soc/codecs/tas2552.c index 5e6490c19b7e..7e65294f5244 100644 --- a/sound/soc/codecs/tas2552.c +++ b/sound/soc/codecs/tas2552.c | |||
@@ -751,6 +751,7 @@ static int tas2552_probe(struct i2c_client *client, | |||
751 | static int tas2552_i2c_remove(struct i2c_client *client) | 751 | static int tas2552_i2c_remove(struct i2c_client *client) |
752 | { | 752 | { |
753 | snd_soc_unregister_codec(&client->dev); | 753 | snd_soc_unregister_codec(&client->dev); |
754 | pm_runtime_disable(&client->dev); | ||
754 | return 0; | 755 | return 0; |
755 | } | 756 | } |
756 | 757 | ||