Skip to content

mfd: intel-lpss: refactor PCI probe and common IRQ check

Andy Shevchenko lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 3 repliesApplied

Changes in v3 from the cover letter

1. Refactored PCI glue driver a bit (a new patch)
2. Updated commit message in the original patch

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2mfd: intel-lpss: Use PCI APIs instead of derefereincingdrivers/mfd/intel-lpss-pci.c+6 -21 reply
2/2mfd: intel-lpss: Amend IRQ checkdrivers/mfd/intel-lpss.c+4 -11 reply

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] mfd: intel-lpss: refactor PCI probe and common IRQ check

The PCI code can be refactored to use respective PCI APIs instead of direct dereference of struct pci_dev members.

With that, we may unshadow the error code that is promoted in the irq field of info structure. PCI core shouldn't propagate 0 as a value there, and in case it happens it reveals a bug somewhere else.

Changelog:

v2 -> v3:
1. Refactored PCI glue driver a bit (a new patch)
2. Updated commit message in the original patch

v1 -> v2:
1. Update commit message
2. Fix IRQ check in intel_lpcc_probe()

Andy Shevchenko (1):
mfd: intel-lpss: Use PCI APIs instead of derefereincing

Chen Ni (1):
mfd: intel-lpss: Amend IRQ check

 drivers/mfd/intel-lpss-pci.c | 8 ++++++--
 drivers/mfd/intel-lpss.c     | 5 ++++-
 2 files changed, 10 insertions(+), 3 deletions(-)
Signature · 1 line
2.40.0.1.gaa8946217a0b