OSDN Git Service

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)
commitd3d71c99b541040da198f43da3bbd85d8e9598cb
treec1c04fbbbf18c65ffc384747efc340e280a6999d
parentb23d9eb897a1209e4d741fd69e5490f1b5b9e7cf
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: 1a476abc723e6 ("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