Commit 9ce99afa authored by YueHaibing's avatar YueHaibing Committed by Kleber Sacilotto de Souza

ASoC: cs4349: Use PM ops 'cs4349_runtime_pm'

BugLink: https://bugs.launchpad.net/bugs/1864773

[ Upstream commit 9b4275c4 ]

sound/soc/codecs/cs4349.c:358:32: warning:
 cs4349_runtime_pm defined but not used [-Wunused-const-variable=]

cs4349_runtime_pm ops already defined, it seems
we should enable it.
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Fixes: e40da86a ("ASoC: cs4349: Add support for Cirrus Logic CS4349")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190815090157.70036-1-yuehaibing@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent b37d68aa
......@@ -379,6 +379,7 @@ static struct i2c_driver cs4349_i2c_driver = {
.driver = {
.name = "cs4349",
.of_match_table = cs4349_of_match,
.pm = &cs4349_runtime_pm,
},
.id_table = cs4349_i2c_id,
.probe = cs4349_i2c_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment