OSDN Git Service

ASoC: rt5645: Set card long_name for GPD win / pocket
authorHans de Goede <hdegoede@redhat.com>
Mon, 11 Dec 2017 21:26:40 +0000 (22:26 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 12 Dec 2017 10:41:56 +0000 (10:41 +0000)
commitaa9c387c2dc25597b730cd8386cac8ccfe75de07
tree6df3c54256de19f7b66938e4635b7300065ef387
parent56986b07d17b4a19416e248aaca9367c241a824b
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>
include/sound/rt5645.h
sound/soc/codecs/rt5645.c