ASoC: qcom: apq8096: set driver name correctly
authorYassine Oudjana <y.oudjana@protonmail.com>
Wed, 22 Jun 2022 06:11:06 +0000 (10:11 +0400)
committerMark Brown <broonie@kernel.org>
Wed, 1 Feb 2023 10:25:07 +0000 (10:25 +0000)
Set driver name to allow matching different UCM2 configurations
for the multiple devices sharing the same APQ8096 ASoC.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Link: https://lore.kernel.org/r/20220622061106.35071-1-y.oudjana@protonmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/apq8096.c

index c7b7d08..5d07b38 100644 (file)
@@ -113,6 +113,7 @@ static int apq8096_platform_probe(struct platform_device *pdev)
        if (!card)
                return -ENOMEM;
 
+       card->driver_name = "apq8096";
        card->dev = dev;
        card->owner = THIS_MODULE;
        dev_set_drvdata(dev, card);