Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Ujfalusi and committed by
Mark Brown
4785ed89 4afdd89d

+1
+1
sound/soc/codecs/tas2552.c
··· 751 751 static int tas2552_i2c_remove(struct i2c_client *client) 752 752 { 753 753 snd_soc_unregister_codec(&client->dev); 754 + pm_runtime_disable(&client->dev); 754 755 return 0; 755 756 } 756 757