OSDN Git Service

ASoC: rt5651: Add ACPI ID 10EC5640
authorHans de Goede <hdegoede@redhat.com>
Sat, 29 Dec 2018 23:00:20 +0000 (00:00 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jan 2019 19:23:24 +0000 (19:23 +0000)
commitd306873589c5a4c13df7176cd73d66ebfa690064
tree0e4bb329b2fad85f46b082628a04d214fd6e6caf
parentd3dcc5882ca95c9207b5232395c291d34a511627
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>
sound/soc/codecs/rt5651.c