Skip to content

Commit

Permalink
ASoC: Intel: broxton: reduce machine name for bxt_da7219_max98357a
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
naveen-manohar authored and broonie committed Jun 19, 2018
1 parent 5fd46e6 commit 95555f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sound/soc/intel/boards/bxt_da7219_max98357a.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};
Expand All @@ -599,4 +599,4 @@ MODULE_AUTHOR("Rohit Ainapure <[email protected]>");
MODULE_AUTHOR("Harsha Priya <[email protected]>");
MODULE_AUTHOR("Conrad Cooke <[email protected]>");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:bxt_da7219_max98357a_i2s");
MODULE_ALIAS("platform:bxt_da7219_max98357a");
2 changes: 1 addition & 1 deletion sound/soc/intel/skylake/skl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 95555f5

Please sign in to comment.