ASoC: Intel: broxton: reduce machine name for bxt_da7219_max98357a
authorNaveen Manohar <naveen.m@intel.com>
Mon, 18 Jun 2018 18:29:35 +0000 (13:29 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 19 Jun 2018 14:46:53 +0000 (15:46 +0100)
Use truncated names in bxt id table and bxt_da7219_max98357a machine
as platform device id table expects names to be less then 20chars.

Signed-off-by: Naveen Manohar <naveen.m@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bxt_da7219_max98357a.c
sound/soc/intel/skylake/skl.c

index 40eb979d5ac1d99b62e0030b495d444be6078bd6..3aba5bcf806aad4c428b05195cb2d48c3faffdfb 100644 (file)
@@ -586,7 +586,7 @@ static int broxton_audio_probe(struct platform_device *pdev)
 static struct platform_driver broxton_audio = {
        .probe = broxton_audio_probe,
        .driver = {
-               .name = "bxt_da7219_max98357a_i2s",
+               .name = "bxt_da7219_max98357a",
                .pm = &snd_soc_pm_ops,
        },
 };
@@ -599,4 +599,4 @@ MODULE_AUTHOR("Rohit Ainapure <rohit.m.ainapure@intel.com>");
 MODULE_AUTHOR("Harsha Priya <harshapriya.n@intel.com>");
 MODULE_AUTHOR("Conrad Cooke <conrad.cooke@intel.com>");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:bxt_da7219_max98357a_i2s");
+MODULE_ALIAS("platform:bxt_da7219_max98357a");
index f0d9793f872abad4b40be720a0f16572f89e78ba..0a8f0768e987261e7949aae477d471b0b8dc2d16 100644 (file)
@@ -1093,7 +1093,7 @@ static struct snd_soc_acpi_mach sst_bxtp_devdata[] = {
        },
        {
                .id = "DLGS7219",
-               .drv_name = "bxt_da7219_max98357a_i2s",
+               .drv_name = "bxt_da7219_max98357a",
                .fw_filename = "intel/dsp_fw_bxtn.bin",
                .machine_quirk = snd_soc_acpi_codec_list,
                .quirk_data = &bxt_codecs,