summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2022-08-16 18:52:29 +0200
committerMark Brown <broonie@kernel.org>2022-08-17 14:00:15 +0200
commitc6e14bb9f50df7126ca64405ae807d8bc7b39f9a (patch)
treed330048aecac816362adb9e78a3b9412e835bc0c
parentASoC: fsl_sai: fix incorrect mclk number in error message (diff)
downloadlinux-c6e14bb9f50df7126ca64405ae807d8bc7b39f9a.tar.xz
linux-c6e14bb9f50df7126ca64405ae807d8bc7b39f9a.zip
ASoC: qcom: sm8250: add missing module owner
Add missing module owner to able to build and load this driver as module. Fixes: aa2e2785545a ("ASoC: qcom: sm8250: add sound card qrb5165-rb5 support") Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20220816165229.7971-1-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/qcom/sm8250.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/qcom/sm8250.c b/sound/soc/qcom/sm8250.c
index ce4a5713386a..98a2fde9e004 100644
--- a/sound/soc/qcom/sm8250.c
+++ b/sound/soc/qcom/sm8250.c
@@ -270,6 +270,7 @@ static int sm8250_platform_probe(struct platform_device *pdev)
if (!card)
return -ENOMEM;
+ card->owner = THIS_MODULE;
/* Allocate the private data */
data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL);
if (!data)