[2/5] chtrt5645: Add ASUSTeKCOMPUTERINC.-T100HAN-1.0 symlink to chtrt5645-dmic1.conf
diff mbox series

Message ID 20200405183454.34515-2-hdegoede@redhat.com
State New
Headers show
Series
  • [1/5] bytcr-rt5651: Fix dmic check in HiFi-Components.conf
Related show

Commit Message

Hans de Goede April 5, 2020, 6:34 p.m. UTC
We already have a ASUSTeKCOMPUTERINC.-T100HAN-1.0-T100HAN symlink to
chtrt5645-dmic1.conf, but since kernel commit 39870b0dec68 ("ASoC: DMI long
name - avoid to add board name if matches with product name"), the kernel
omits the (second) -T100HAN. So with newer kernels that no longer works.

Arguably this is a kernel regressions, but chances are we already have
some configs depending on the new behavior, so lets fix this on the
UCM2 side by adding a second symlink using the new long name.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 ucm2/chtrt5645/ASUSTeKCOMPUTERINC.-T100HAN-1.0.conf | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 ucm2/chtrt5645/ASUSTeKCOMPUTERINC.-T100HAN-1.0.conf

Comments

Jaroslav Kysela April 6, 2020, 7:40 a.m. UTC | #1
Dne 05. 04. 20 v 20:34 Hans de Goede napsal(a):
> We already have a ASUSTeKCOMPUTERINC.-T100HAN-1.0-T100HAN symlink to
> chtrt5645-dmic1.conf, but since kernel commit 39870b0dec68 ("ASoC: DMI long
> name - avoid to add board name if matches with product name"), the kernel
> omits the (second) -T100HAN. So with newer kernels that no longer works.
> 
> Arguably this is a kernel regressions, but chances are we already have
> some configs depending on the new behavior, so lets fix this on the
> UCM2 side by adding a second symlink using the new long name.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
>   ucm2/chtrt5645/ASUSTeKCOMPUTERINC.-T100HAN-1.0.conf | 1 +
>   1 file changed, 1 insertion(+)
>   create mode 120000 ucm2/chtrt5645/ASUSTeKCOMPUTERINC.-T100HAN-1.0.conf
> 
> diff --git a/ucm2/chtrt5645/ASUSTeKCOMPUTERINC.-T100HAN-1.0.conf b/ucm2/chtrt5645/ASUSTeKCOMPUTERINC.-T100HAN-1.0.conf
> new file mode 120000
> index 0000000..b4d2816
> --- /dev/null
> +++ b/ucm2/chtrt5645/ASUSTeKCOMPUTERINC.-T100HAN-1.0.conf
> @@ -0,0 +1 @@
> +chtrt5645-dmic1.conf
> \ No newline at end of file
> 

Applied. Thanks.

			Jaroslav

Patch
diff mbox series

diff --git a/ucm2/chtrt5645/ASUSTeKCOMPUTERINC.-T100HAN-1.0.conf b/ucm2/chtrt5645/ASUSTeKCOMPUTERINC.-T100HAN-1.0.conf
new file mode 120000
index 0000000..b4d2816
--- /dev/null
+++ b/ucm2/chtrt5645/ASUSTeKCOMPUTERINC.-T100HAN-1.0.conf
@@ -0,0 +1 @@ 
+chtrt5645-dmic1.conf
\ No newline at end of file