0565-Add-driver_name-properties-to-JustBoom-drivers-1787.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. From 0ec03b021ee12ab6c30bcc8cb617cc4b87384d25 Mon Sep 17 00:00:00 2001
  2. From: Aaron Shaw <shawaj@gmail.com>
  3. Date: Tue, 10 Jan 2017 16:22:53 +0000
  4. Subject: [PATCH] Add driver_name properties to JustBoom drivers (#1787)
  5. Add driver name properties for use with 5.1 passthrough audio in LibreElec
  6. and other Kodi based OSs
  7. ---
  8. sound/soc/bcm/justboom-dac.c | 1 +
  9. sound/soc/bcm/justboom-digi.c | 1 +
  10. 2 files changed, 2 insertions(+)
  11. --- a/sound/soc/bcm/justboom-dac.c
  12. +++ b/sound/soc/bcm/justboom-dac.c
  13. @@ -98,6 +98,7 @@ static struct snd_soc_dai_link snd_rpi_j
  14. /* audio machine driver */
  15. static struct snd_soc_card snd_rpi_justboom_dac = {
  16. .name = "snd_rpi_justboom_dac",
  17. + .driver_name = "JustBoomDac",
  18. .owner = THIS_MODULE,
  19. .dai_link = snd_rpi_justboom_dac_dai,
  20. .num_links = ARRAY_SIZE(snd_rpi_justboom_dac_dai),
  21. --- a/sound/soc/bcm/justboom-digi.c
  22. +++ b/sound/soc/bcm/justboom-digi.c
  23. @@ -154,6 +154,7 @@ static struct snd_soc_dai_link snd_rpi_j
  24. /* audio machine driver */
  25. static struct snd_soc_card snd_rpi_justboom_digi = {
  26. .name = "snd_rpi_justboom_digi",
  27. + .driver_name = "JustBoomDigi",
  28. .owner = THIS_MODULE,
  29. .dai_link = snd_rpi_justboom_digi_dai,
  30. .num_links = ARRAY_SIZE(snd_rpi_justboom_digi_dai),