]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: ti-adc081c: Partial revert of removal of ACPI IDs
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 5 Dec 2021 17:27:28 +0000 (17:27 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 21 Dec 2021 15:13:29 +0000 (15:13 +0000)
commitf68f017a44d79d3c2d8ded355f5559ab9b7b00cd
treec8c44d83cca950f80276486599a60d19b8c5872d
parent9e158757f98fdec78b86c94e4438a4237ae23f6f
iio: adc: ti-adc081c: Partial revert of removal of ACPI IDs

Unfortuanately a non standards compliant ACPI ID is known to be
in the wild on some AAEON boards.

Partly revert the removal of these IDs so that ADC081C will again
work + add a comment to that affect for future reference.

Whilst here use generic firmware properties rather than the ACPI
specific handling previously found in this driver.

Reported-by: Kunyang Fan <Kunyang_Fan@aaeon.com.tw>
Fixes: 055c1ec246c5 ("iio:adc:ti-adc081c: Drop ACPI ids that seem very unlikely to be official.")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Tested-by: Kunyang Fan <Kunyang_Fan@aaeon.com.tw> #UP-extremei11
Link: https://lore.kernel.org/r/20211205172728.2826512-1-jic23@kernel.org
Cc: <Stable@vger.kernel.org>
drivers/iio/adc/ti-adc081c.c