linux/drivers/misc/cardreader
Bjorn Helgaas ed86a9877d misc: rtsx: Find L1 PM Substates capability instead of hard-coding
Instead of hard-coding the location of the L1 PM Substates capability based
on the Device ID, search for it in the extended capabilities list.  This
works for any device, as long as it implements the L1 PM Substates
capability correctly, so it doesn't require maintenance as new devices are
added.  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20200721212336.1159079-5-helgaas@kernel.org
[ minor addition due to differences in my tree - gregkh]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-22 13:34:27 +02:00
..
alcor_pci.c misc: alcor_pci: Add AU6625 to list of supported PCI_IDs 2020-01-14 15:16:50 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile misc: rtsx: Add support new chip rts5228 mmc: rtsx: Add support MMC_CAP2_NO_MMC 2020-07-10 14:58:47 +02:00
rtl8411.c misc: rtsx: Remove rtsx_pci_read/write_config() wrappers 2020-07-22 13:29:44 +02:00
rts5209.c misc: rtsx: Remove rtsx_pci_read/write_config() wrappers 2020-07-22 13:29:44 +02:00
rts5227.c misc: rtsx: Remove rtsx_pci_read/write_config() wrappers 2020-07-22 13:29:44 +02:00
rts5228.c misc: rtsx: Find L1 PM Substates capability instead of hard-coding 2020-07-22 13:34:27 +02:00
rts5228.h misc: rtsx: Add support new chip rts5228 mmc: rtsx: Add support MMC_CAP2_NO_MMC 2020-07-10 14:58:47 +02:00
rts5229.c misc: rtsx: Remove rtsx_pci_read/write_config() wrappers 2020-07-22 13:29:44 +02:00
rts5249.c misc: rtsx: Find L1 PM Substates capability instead of hard-coding 2020-07-22 13:34:27 +02:00
rts5260.c misc: rtsx: Find L1 PM Substates capability instead of hard-coding 2020-07-22 13:34:27 +02:00
rts5260.h
rts5261.c misc: rtsx: Find L1 PM Substates capability instead of hard-coding 2020-07-22 13:34:27 +02:00
rts5261.h misc: rtsx: Add support for RTS5261 2019-11-14 13:07:48 +08:00
rtsx_pcr.c misc: rtsx: Remove rtsx_pci_read/write_config() wrappers 2020-07-22 13:29:44 +02:00
rtsx_pcr.h misc: rtsx: Add support new chip rts5228 mmc: rtsx: Add support MMC_CAP2_NO_MMC 2020-07-10 14:58:47 +02:00
rtsx_usb.c misc: rtsx_usb: Constify struct usb_device_id 2020-06-29 18:39:45 +02:00