[PATCH 0/5] minor rtsx cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

Clean up some needlessly device-specific stuff in the Realtek card reader
drivers.

This implements some of my suggestions from
https://lore.kernel.org/r/20200720220651.GA1035857@bjorn-Precision-5520

This will conflict with Ricky's post here:
https://lore.kernel.org/r/20200706070259.32565-1-ricky_wu@xxxxxxxxxxx

I'll be happy to update this on top of Ricky's patch after it's applied, or
Ricky could pick up these patches and base his on top.

Bjorn Helgaas (5):
  misc: rtsx: Use pcie_capability_clear_and_set_word() for
    PCI_EXP_LNKCTL
  misc: rtsx: Remove unused pcie_cap
  misc: rtsx: Remove rtsx_pci_read/write_config() wrappers
  misc: rtsx: Find L1 PM Substates capability instead of hard-coding
  misc: rtsx: Use standard PCI definitions

 drivers/misc/cardreader/rtl8411.c  |  8 +++++---
 drivers/misc/cardreader/rts5209.c  |  5 +++--
 drivers/misc/cardreader/rts5227.c  |  5 +++--
 drivers/misc/cardreader/rts5229.c  |  5 +++--
 drivers/misc/cardreader/rts5249.c  | 28 ++++++++++++++------------
 drivers/misc/cardreader/rts5260.c  | 23 +++++++++++++--------
 drivers/misc/cardreader/rts5261.c  | 32 +++++++++++++++++++-----------
 drivers/misc/cardreader/rtsx_pcr.c |  7 ++++---
 include/linux/rtsx_pci.h           | 22 --------------------
 9 files changed, 68 insertions(+), 67 deletions(-)

-- 
2.25.1




[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux