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>
This commit is contained in:
Peter Ujfalusi 2015-06-08 15:19:53 +03:00 committed by Mark Brown
parent 4afdd89df0
commit 4785ed89f2
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}