mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
The device class may be changed after the fixup, so re-read the class value from pci_dev when configuring the device. Otherwise some devices such as JMicron SATA controller won't work. Reviewed-by: Matthew Wilcox <[email protected]> Reviewed-by: Grant Grundler <[email protected]> Tested-by: Marc Dionne <[email protected]> Signed-off-by: Yu Zhao <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>