Skip to content

intel-lpss-pci-i2c: Fix oops when there is no ACPI fwnode

Hans de Goede linux-acpi linux-i2c lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2i2c: i2c-designware-platdrv: Allow a dynamic adap. nr without an ACPI fwnodedrivers/i2c/busses/i2c-designware-platdrv.c+9 -45 replies
2/2mfd: intel-lpss: Add "linux,use-dynamic-adapter-nr" device-prop to i2c-devicesdrivers/mfd/intel-lpss-pci.c+3 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] intel-lpss-pci-i2c: Fix oops when there is no ACPI fwnode

Hi All,

Here is a patch series fixing an oops when there is no ACPI fwnode associated with a PCI enumerated LPSS I2C controller:
https://bugzilla.redhat.com/show_bug.cgi?id=1687065

This is fixed by the first patch in this series, which modifies i2c-designware-platdrv.c to fix this. The fix is enabled conditionally because otherwise it might break things on platforms where i2c-designware controllers are enumerated through e.g. devicetree.

The second patch modifies intel-lpss-pci.c to pass the new "linux,use-dynamic-adapter-nr" devicetree property to activate the fix.

The first patch should be merged first, so that the devicetree prop name is "stable", then the second patch can be merged independently through the mfd tree.

Regards,

Hans