summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs42l43.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2024-01-25 10:31:14 +0000
committerMark Brown <broonie@kernel.org>2024-01-26 14:46:57 +0000
commit7a93a9abe44386b4caa0e67977f41b8c9f06b51c (patch)
tree3893b7dceaddd1c1500a8e5524b2fd7571fd329f /sound/soc/codecs/cs42l43.c
parenta2e7cf55db781654fdb2d3b2529e28c4d93e24fc (diff)
downloadlinux-stable-7a93a9abe44386b4caa0e67977f41b8c9f06b51c.tar.gz
linux-stable-7a93a9abe44386b4caa0e67977f41b8c9f06b51c.tar.bz2
linux-stable-7a93a9abe44386b4caa0e67977f41b8c9f06b51c.zip
ASoC: cs42l43: Add pm_ptr around the power ops
Add missing pm_ptr around the power ops. Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://msgid.link/r/20240125103117.2622095-4-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs42l43.c')
-rw-r--r--sound/soc/codecs/cs42l43.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l43.c b/sound/soc/codecs/cs42l43.c
index d418c0b0ce9a..1852cb072bd0 100644
--- a/sound/soc/codecs/cs42l43.c
+++ b/sound/soc/codecs/cs42l43.c
@@ -2349,7 +2349,7 @@ MODULE_DEVICE_TABLE(platform, cs42l43_codec_id_table);
static struct platform_driver cs42l43_codec_driver = {
.driver = {
.name = "cs42l43-codec",
- .pm = &cs42l43_codec_pm_ops,
+ .pm = pm_ptr(&cs42l43_codec_pm_ops),
},
.probe = cs42l43_codec_probe,