linux-stable/drivers
Avraham Stern b39c24e977 wifi: iwlwifi: pcie: avoid a warning in case prepare card failed
[ Upstream commit 057381ddac ]

In case CSME holds the NIC and SAP connection is already established,
iwl_pcie_prepare_card_hw() during iwl_pci_probe() will fail
(which is fine since CSME will release the nic later when asked with
a SAP message). In this case tring to grab nic access to read the
crf ids will fail with a warning.
Avoid the warning by only trying to read the crf ids in case prepare
card succeeded.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230822103048.9b026fa7b97e.I12bea7e6eef54eeeaf916b68d71583e92ff310fd@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-23 11:14:21 +02:00
..
accel accel/ivpu: refactor deprecated strncpy 2023-09-19 12:30:15 +02:00
accessibility
acpi ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects 2023-09-23 11:14:19 +02:00
amba
android
ata ata: pata_ftide010: Add missing MODULE_DESCRIPTION 2023-09-19 12:30:23 +02:00
atm
auxdisplay
base
bcma
block null_blk: fix poll request timeout handling 2023-09-19 12:30:09 +02:00
bluetooth Bluetooth: btusb: Add support for another MediaTek 7922 VID/PID 2023-09-23 11:14:21 +02:00
bus bus: mhi: host: Skip MHI reset if device is in RDDM 2023-09-19 12:30:12 +02:00
cdrom
cdx
char tpm_tis: Resend command to recover from data transfer errors 2023-09-23 11:14:21 +02:00
clk clk: qcom: mss-sc7180: fix missing resume during probe 2023-09-19 12:30:12 +02:00
clocksource clocksource/drivers/arm_arch_timer: Disable timer before programming CVAL 2023-09-19 12:30:22 +02:00
comedi
connector
counter
cpufreq cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug 2023-09-13 09:53:56 +02:00
cpuidle
crypto crypto: stm32 - fix MDMAT condition 2023-09-13 09:53:56 +02:00
cxl
dax
dca
devfreq
dio
dma dmaengine: sh: rz-dmac: Fix destination and source data size setting 2023-09-19 12:30:22 +02:00
dma-buf
edac
eisa
extcon
firewire
firmware arm64: sdei: abort running SDEI handlers during crash 2023-09-13 09:53:55 +02:00
fpga
fsi
gnss
gpio
gpu drm/amd/display: Fix a bug when searching for insert_above_mpcc 2023-09-19 12:30:30 +02:00
greybus
hid HID: logitech-hidpp: rework one more time the retries attempts 2023-09-13 09:53:56 +02:00
hsi
hte
hv
hwmon
hwspinlock hwspinlock: qcom: add missing regmap config for SFPB MMIO implementation 2023-09-19 12:30:23 +02:00
hwtracing
i2c
i3c i3c: master: svc: Describe member 'saved_regs' 2023-09-19 12:30:15 +02:00
idle
iio
infiniband
input Input: tca6416-keypad - fix interrupt enable disbalance 2023-09-19 12:30:14 +02:00
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox mailbox: qcom-ipcc: fix incorrect num_chans counting 2023-09-19 12:30:13 +02:00
mcb
md
media media: ipu3-cio2: allow ipu_bridge to be a module again 2023-09-13 09:53:56 +02:00
memory
memstick
message
mfd
misc misc: fastrpc: Fix incorrect DMA mapping unmap request 2023-09-19 12:30:22 +02:00
mmc mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450 2023-09-23 11:14:21 +02:00
most
mtd mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller 2023-09-19 12:30:25 +02:00
mux
net wifi: iwlwifi: pcie: avoid a warning in case prepare card failed 2023-09-23 11:14:21 +02:00
nfc
ntb ntb: Fix calculation ntb_transport_tx_free_entry() 2023-09-13 09:53:53 +02:00
nubus
nvdimm
nvme
nvmem
of of: property: fw_devlink: Add a devlink for panel followers 2023-09-13 09:53:56 +02:00
opp
parisc parisc: sba_iommu: Fix build warning if procfs if disabled 2023-09-19 12:30:27 +02:00
parport
pci Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset" 2023-09-13 09:53:53 +02:00
pcmcia
peci
perf perf/imx_ddr: speed up overflow frequency of cycle 2023-09-23 11:14:18 +02:00
phy
pinctrl pinctrl: cherryview: fix address_space_handler() argument 2023-09-19 12:30:11 +02:00
platform platform/chrome: cros_ec_lpc: Remove EC panic shutdown timeout 2023-09-23 11:14:18 +02:00
pnp
power
powercap
pps
ps3
ptp
pwm pwm: lpc32xx: Remove handling of PWM channels 2023-09-19 12:30:15 +02:00
rapidio
ras
regulator regulator: raa215300: Fix resource leak in case of error 2023-09-19 12:30:27 +02:00
remoteproc
reset
rpmsg
rtc
s390 s390/zcrypt: don't leak memory if dev_set_name() fails 2023-09-19 12:30:19 +02:00
sbus
scsi scsi: qla2xxx: Fix firmware resource tracking 2023-09-19 12:30:09 +02:00
sh
siox
slimbus
soc soc: qcom: qmi_encdec: Restrict string length in decode 2023-09-19 12:30:12 +02:00
soundwire
spi spi: sun6i: add quirk for dual and quad SPI modes support 2023-09-23 11:14:19 +02:00
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty serial: sc16is7xx: fix regression with GPIO configuration 2023-09-13 09:53:57 +02:00
ufs scsi: ufs: core: Add advanced RPMB support where UFSHCI 4.0 does not support EHS length in UTRD 2023-09-19 12:30:08 +02:00
uio
usb USB: core: Fix oversight in SuperSpeed initialization 2023-09-13 09:53:56 +02:00
vdpa
vfio
vhost
video backlight: gpio_backlight: Drop output GPIO direction check for initial power state 2023-09-19 12:30:13 +02:00
virt
virtio
vlynq
w1
watchdog watchdog: advantech_ec_wdt: fix Kconfig dependencies 2023-09-19 12:30:21 +02:00
xen
zorro
Kconfig
Makefile