Add driver_name property

Add driver name property for use with 5.1 passthrough audio in LibreElec and other Kodi based OSs
This commit is contained in:
Aaron Shaw
2017-01-10 16:05:41 +00:00
committed by popcornmix
parent 8299d2c91a
commit ad106964b3

View File

@@ -98,6 +98,7 @@ static struct snd_soc_dai_link snd_rpi_justboom_dac_dai[] = {
/* audio machine driver */ /* audio machine driver */
static struct snd_soc_card snd_rpi_justboom_dac = { static struct snd_soc_card snd_rpi_justboom_dac = {
.name = "snd_rpi_justboom_dac", .name = "snd_rpi_justboom_dac",
.driver_name = "JustBoomDac",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.dai_link = snd_rpi_justboom_dac_dai, .dai_link = snd_rpi_justboom_dac_dai,
.num_links = ARRAY_SIZE(snd_rpi_justboom_dac_dai), .num_links = ARRAY_SIZE(snd_rpi_justboom_dac_dai),