Skip to content

Commit

Permalink
hifiberry: Make driver names unique in first 15 characters
Browse files Browse the repository at this point in the history
See: LibreELEC PR1001
  • Loading branch information
popcornmix committed Dec 1, 2016
1 parent 2b77cb6 commit 9a254b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/bcm/hifiberry_dac.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ static struct snd_soc_dai_link snd_rpi_hifiberry_dac_dai[] = {
/* audio machine driver */
static struct snd_soc_card snd_rpi_hifiberry_dac = {
.name = "snd_rpi_hifiberry_dac",
.driver_name = "HifiberryDac",
.owner = THIS_MODULE,
.dai_link = snd_rpi_hifiberry_dac_dai,
.num_links = ARRAY_SIZE(snd_rpi_hifiberry_dac_dai),
Expand Down
1 change: 1 addition & 0 deletions sound/soc/bcm/hifiberry_dacplus.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ static struct snd_soc_dai_link snd_rpi_hifiberry_dacplus_dai[] = {
/* audio machine driver */
static struct snd_soc_card snd_rpi_hifiberry_dacplus = {
.name = "snd_rpi_hifiberry_dacplus",
.driver_name = "HifiberryDacp",
.owner = THIS_MODULE,
.dai_link = snd_rpi_hifiberry_dacplus_dai,
.num_links = ARRAY_SIZE(snd_rpi_hifiberry_dacplus_dai),
Expand Down
1 change: 1 addition & 0 deletions sound/soc/bcm/hifiberry_digi.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ static struct snd_soc_dai_link snd_rpi_hifiberry_digi_dai[] = {
/* audio machine driver */
static struct snd_soc_card snd_rpi_hifiberry_digi = {
.name = "snd_rpi_hifiberry_digi",
.driver_name = "HifiberryDigi",
.owner = THIS_MODULE,
.dai_link = snd_rpi_hifiberry_digi_dai,
.num_links = ARRAY_SIZE(snd_rpi_hifiberry_digi_dai),
Expand Down

0 comments on commit 9a254b3

Please sign in to comment.