Skip to content

Commit d306873

Browse files
jwrdegoedebroonie
authored andcommitted
ASoC: rt5651: Add ACPI ID 10EC5640
Some BYT platforms have a RT5651 codec while using an ACPI node with a HID of 10EC5640 to describe the coded. Add the 10EC5640 HID to the acpi_device_id list, so that the rt5651 will bind to the codec on these devices. Like the rt5645 and rt5670 drivers which also have the 10EC5640 ACPI HID in their acpi_device_id list for similar reasons, the rt5651 driver checks the codecs device-id register so that it will only bind if the codec actually is a rt5651 and it will ignore actual rt5640 codecs. Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent d3dcc58 commit d306873

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/codecs/rt5651.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2138,6 +2138,7 @@ MODULE_DEVICE_TABLE(of, rt5651_of_match);
21382138
#ifdef CONFIG_ACPI
21392139
static const struct acpi_device_id rt5651_acpi_match[] = {
21402140
{ "10EC5651", 0 },
2141+
{ "10EC5640", 0 },
21412142
{ },
21422143
};
21432144
MODULE_DEVICE_TABLE(acpi, rt5651_acpi_match);

0 commit comments

Comments
 (0)