OSDN Git Service

ASoC: test-component: Remove now redundant non_legacy_dai_naming flag
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 23 Jun 2022 12:51:57 +0000 (13:51 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:16:53 +0000 (13:16 +0100)
The ASoC core has now been changed to default to the non-legacy DAI
naming, as such drivers using the new scheme no longer need to specify
the non_legacy_dai_naming flag.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220623125250.2355471-44-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/test-component.c

index e2a009b..98c8990 100644 (file)
@@ -569,7 +569,6 @@ static int test_driver_probe(struct platform_device *pdev)
                cdriv->name                     = "test_codec";
                cdriv->idle_bias_on             = 1;
                cdriv->endianness               = 1;
-               cdriv->non_legacy_dai_naming    = 1;
        }
 
        cdriv->open             = test_component_open;