Browse Source

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>
Peter Ujfalusi 10 years ago
parent
commit
4785ed89f2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      sound/soc/codecs/tas2552.c

+ 1 - 0
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;
 }