diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-12-12 00:26:40 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-12 13:41:56 +0300 |
commit | aa9c387c2dc25597b730cd8386cac8ccfe75de07 (patch) | |
tree | 6df3c54256de19f7b66938e4635b7300065ef387 /include/sound/rt5645.h | |
parent | 56986b07d17b4a19416e248aaca9367c241a824b (diff) | |
download | linux-aa9c387c2dc25597b730cd8386cac8ccfe75de07.tar.xz |
ASoC: rt5645: Set card long_name for GPD win / pocket
The GPD win and pocket devices both use the same codec setup and both
have too generic dmi strings making snd_soc_set_dmi_name() not work.
As these devices have only a single speaker we want a separate ucm
file for them, which requires a unique long_name, use the existing
GPD quirk handling to also provide a unique long_name.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/rt5645.h')
-rw-r--r-- | include/sound/rt5645.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/rt5645.h b/include/sound/rt5645.h index d0c33a9972b9..f218c742f08e 100644 --- a/include/sound/rt5645.h +++ b/include/sound/rt5645.h @@ -25,6 +25,9 @@ struct rt5645_platform_data { bool level_trigger_irq; /* Invert JD1_1 status polarity */ bool inv_jd1_1; + + /* Value to asign to snd_soc_card.long_name */ + const char *long_name; }; #endif |