linux_dsm_epyc7002/drivers/net/wireless/rt2x00
Gertjan van Wingerde 31a4cf1f22 rt2x00: Fix BUG on rt2800usb when trying to read eFuse EEPROM.
Current tree hits a BUG_ON in rt2x00_regbusy_read, because the eFuse EEPROM
reading code of rt2800lib uses the function without the csr_mutex locked.

Fix this by locking the csr_mutex for the of the EEPROM reading cycly and
using the _lock variants of the register reading and writing functions.

This also introcudes the register_read_lock function pointer in the
rt2800_ops structure.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-11-16 14:17:12 -05:00
..
Kconfig rt2800: add rt2800lib (part one) 2009-11-06 16:48:58 -05:00
Makefile rt2800: add rt2800lib (part one) 2009-11-06 16:48:58 -05:00
rt2x00.h rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt2x00config.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00crypto.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00debug.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00debug.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00dev.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00dump.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00firmware.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00ht.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00leds.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00leds.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00lib.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00link.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00mac.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00pci.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00queue.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00queue.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00reg.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00soc.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00soc.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00usb.c rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2x00usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt61pci.c rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt61pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt73usb.c rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt73usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2400pci.c rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt2400pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2500pci.c rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt2500pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2500usb.c rt2x00: Log RT/RF chipset information correctly. 2009-11-16 14:17:12 -05:00
rt2500usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2800.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2800lib.c rt2x00: Fix BUG on rt2800usb when trying to read eFuse EEPROM. 2009-11-16 14:17:12 -05:00
rt2800lib.h rt2x00: Fix BUG on rt2800usb when trying to read eFuse EEPROM. 2009-11-16 14:17:12 -05:00
rt2800pci.c rt2x00: Fix BUG on rt2800usb when trying to read eFuse EEPROM. 2009-11-16 14:17:12 -05:00
rt2800pci.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00
rt2800usb.c rt2x00: Fix BUG on rt2800usb when trying to read eFuse EEPROM. 2009-11-16 14:17:12 -05:00
rt2800usb.h rt2x00: Update copyright statements. 2009-11-11 17:09:17 -05:00