Re: [PATCH v2] i2c: designware: platdrv: Set class based on dmi

From: Jarkko Nikula
Date: Wed Jun 24 2020 - 09:45:33 EST


On 6/24/20 4:22 PM, Andy Shevchenko wrote:
On Wed, Jun 24, 2020 at 01:25:30PM +0200, Ricardo Ribalda wrote:
Current AMD's zen-based APUs use this core for some of its i2c-buses.

With this patch we re-enable autodetection of hwmon-alike devices, so
lm-sensors will be able to work automatically.

It does not affect the boot-time of embedded devices, as the class is
set based on the dmi information.

I think it misses Fixes tag. And...

I don't think we have regression here. Commit 70fba8302ade ("i2c: i2c-designware-platdrv: Drop class based scanning to improve bootup time") was done before any of those AMD ACPI IDs were added.

--
Jarkko