]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas2770: Fix unbalanced calls to pm_runtime
authorDan Murphy <dmurphy@ti.com>
Fri, 18 Sep 2020 19:05:44 +0000 (14:05 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2020 22:57:20 +0000 (23:57 +0100)
commitdc4ecf9c998001ea9d81cb3aca4ca6246b998a03
treec1c04fbbbf18c65ffc384747efc340e280a6999d
parent7c2f2b62688af13c6977b8e7902eda6edce40c62
ASoC: tas2770: Fix unbalanced calls to pm_runtime

Fix the unbalanced call to the pm_runtime_disable when removing the
module.  pm_runtime_enable is not called nor is the pm_runtime setup in
the code.  Remove the i2c_remove function and the pm_runtime_disable.

Fixes: 8c41a7cb58973 ("tas2770: add tas2770 smart PA kernel driver")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200918190548.12598-5-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2770.c