Skip to content

Commit c6e14bb

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: qcom: sm8250: add missing module owner
Add missing module owner to able to build and load this driver as module. Fixes: aa2e278 ("ASoC: qcom: sm8250: add sound card qrb5165-rb5 support") Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent dcdfa34 commit c6e14bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/qcom/sm8250.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ static int sm8250_platform_probe(struct platform_device *pdev)
270270
if (!card)
271271
return -ENOMEM;
272272

273+
card->owner = THIS_MODULE;
273274
/* Allocate the private data */
274275
data = devm_kzalloc(dev, sizeof(*data), GFP_KERNEL);
275276
if (!data)

0 commit comments

Comments
 (0)