linux-stable/drivers
Frieder Schrempf 262e7c9940 usbnet: smsc95xx: disable carrier check while suspending
[ Upstream commit 7b900ead6c ]

We need to make sure, that the carrier check polling is disabled
while suspending. Otherwise we can end up with usbnet_read_cmd()
being issued when only usbnet_read_cmd_nopm() is allowed. If this
happens, read operations lock up.

Fixes: d69d169493 ("usbnet: smsc95xx: fix link detection for disabled autonegotiation")
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Raghuram Chary J <RaghuramChary.Jallipalli@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-23 08:20:34 +01:00
..
accessibility
acpi ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers 2018-11-13 11:16:51 -08:00
amba ARM: amba: Don't read past the end of sysfs "driver_override" buffer 2018-05-01 15:13:08 -07:00
android
ata ahci: don't ignore result code of ahci_reset_controller() 2018-11-10 07:42:59 -08:00
atm atm: zatm: Fix potential Spectre v1 2018-07-22 14:27:36 +02:00
auxdisplay
base PM / core: Clear the direct_complete flag on errors 2018-10-13 09:18:54 +02:00
bcma
block xen/blkfront: avoid NULL blkfront_info dereference on device removal 2018-11-13 11:16:54 -08:00
bluetooth Bluetooth: btbcm: Add entry for BCM4335C0 UART bluetooth 2018-11-13 11:16:50 -08:00
bus drivers/perf: arm-ccn: don't log to dmesg in event_init 2018-08-03 07:55:19 +02:00
cdrom cdrom: fix improper type cast, which can leat to information leak. 2018-11-21 09:25:57 +01:00
char tpm: Restore functionality to xen vtpm driver. 2018-11-13 11:16:54 -08:00
clk reset: hisilicon: fix potential NULL pointer dereference 2018-11-21 09:26:00 +01:00
clocksource clockevents/drivers/i8253: Add support for PIT shutdown quirk 2018-11-21 09:26:01 +01:00
connector
cpufreq cpufreq: dt: Try freeing static OPPs only if we have added them 2018-11-13 11:16:50 -08:00
cpuidle cpuidle: powernv: Fix promotion from snooze if next state disabled 2018-07-03 11:23:08 +02:00
crypto crypto: caam - fix implicit casts in endianness helpers 2018-11-13 11:16:53 -08:00
dax
dca
devfreq PM / devfreq: Fix potential NULL pointer dereference in governor_store 2018-04-13 19:48:09 +02:00
dio
dma dmaengine: dma-jz4780: Return error if not probed from DT 2018-11-13 11:16:53 -08:00
dma-buf dma-buf: remove redundant initialization of sg_table 2018-06-06 16:44:33 +02:00
edac EDAC, skx_edac: Fix logical channel intermediate decoding 2018-11-13 11:16:56 -08:00
eisa
extcon
firewire firewire-ohci: work around oversized DMA reads on JMicron controllers 2018-05-30 07:50:18 +02:00
firmware efi/esrt: Only call efi_mem_reserve() for boot services memory 2018-09-26 08:36:38 +02:00
fmc
fpga
gpio gpio: mxs: Get rid of external API call 2018-11-10 07:43:00 -08:00
gpu drm/i915/execlists: Force write serialisation into context image vs execution 2018-11-21 09:26:04 +01:00
hid HID: hiddev: fix potential Spectre v1 2018-11-13 11:16:56 -08:00
hsi HSI: ssi_protocol: double free in ssip_pn_xmit() 2018-03-24 11:00:12 +01:00
hv HV: properly delay KVP packets when negotiation is in progress 2018-10-20 09:51:33 +02:00
hwmon hwmon: (pwm-fan) Set fan speed to 0 on suspend 2018-11-13 11:16:49 -08:00
hwspinlock
hwtracing coresight: etb10: Fix handling of perf mode 2018-11-13 11:16:53 -08:00
i2c i2c: rcar: cleanup DMA for all kinds of failure 2018-11-13 11:16:48 -08:00
ide cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:50:47 +02:00
idle
iio iio: adc: at91: fix wrong channel number in triggered buffer mode 2018-11-13 11:17:00 -08:00
infiniband IB/ipoib: Clear IPCB before icmp_send 2018-11-13 11:16:52 -08:00
input Input: elan_i2c - add ACPI ID for Lenovo IdeaPad 330-15IGM 2018-11-10 07:43:01 -08:00
iommu iommu/amd: Return devid as alias for ACPI HID devices 2018-10-20 09:51:31 +02:00
ipack
irqchip irqchip/bcm7038-l1: Hide cpu offline callback when building for !SMP 2018-09-15 09:42:58 +02:00
isdn isdn: Disable IIOCDBGVAR 2018-08-22 07:47:14 +02:00
leds leds: pca955x: Correct I2C Functionality 2018-04-13 19:48:03 +02:00
lguest
lightnvm
macintosh macintosh/rack-meter: Convert cputime64_t use to u64 2018-10-20 09:51:32 +02:00
mailbox mailbox: xgene-slimpro: Fix potential NULL pointer dereference 2018-09-09 20:01:19 +02:00
mcb
md MD: fix invalid stored role for a disk - try2 2018-11-13 11:17:05 -08:00
media media: tvp5150: fix width alignment during set_selection() 2018-11-21 09:25:57 +01:00
memory memory: tegra: Apply interrupts mask per SoC 2018-08-03 07:55:24 +02:00
memstick
message scsi: mptfusion: Add bounds check in mptctl_hp_targetinfo() 2018-05-25 16:13:06 +02:00
mfd mfd: omap-usb-host: Fix dts probe of children 2018-10-18 09:13:20 +02:00
misc signal/GenWQE: Fix sending of SIGKILL 2018-11-13 11:16:57 -08:00
mmc mmc: sdhci-pci-o2micro: Add quirk for O2 Micro dev 0x8620 rev 0x01 2018-11-13 11:16:49 -08:00
mtd mtd: docg3: don't set conflicting BCH_CONST_PARAMS option 2018-11-21 09:26:00 +01:00
net usbnet: smsc95xx: disable carrier check while suspending 2018-11-23 08:20:34 +01:00
nfc NFC: pn533: Fix wrong GFP flag usage 2018-08-24 13:12:32 +02:00
ntb ntb_transport: Fix bug with max_mw_size parameter 2018-05-30 07:50:22 +02:00
nubus
nvdimm libnvdimm: Hold reference on parent while scheduling async init 2018-11-13 11:16:55 -08:00
nvme nvmet: fix space padding in serial number 2018-11-10 07:42:55 -08:00
nvmem nvmem: properly handle returned value nvmem_reg_read 2018-08-03 07:55:22 +02:00
of of, numa: Validate some distance map rules 2018-11-21 09:26:00 +01:00
oprofile
parisc parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode 2018-05-30 07:50:43 +02:00
parport parport: sunbpp: fix error return code 2018-09-26 08:36:38 +02:00
pci PCI: Add Device IDs for Intel GPU "spurious interrupt" quirk 2018-11-13 11:16:56 -08:00
pcmcia pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges 2018-11-13 11:16:46 -08:00
perf
phy
pinctrl pinctrl: ssbi-gpio: Fix pm8xxx_pin_config_get() to be compliant 2018-11-13 11:16:51 -08:00
platform platform/x86: acer-wmi: setup accelerometer when ACPI device was found 2018-11-10 07:42:45 -08:00
pnp
power power: remove possible deadlock when unregistering power_supply 2018-10-03 17:01:43 -07:00
powercap PowerCap: Fix an error code in powercap_register_zone() 2018-04-13 19:47:56 +02:00
pps
ps3
ptp ptp: fix Spectre v1 vulnerability 2018-11-10 07:43:00 -08:00
pwm pwm: tiehrpwm: Fix disabling of output of PWMs 2018-09-09 20:01:25 +02:00
rapidio
ras
regulator regulator: fix crash caused by null driver data 2018-10-03 17:01:49 -07:00
remoteproc
reset reset: hi6220: Set module license so that it can be loaded 2018-11-10 07:42:47 -08:00
rpmsg rpmsg: smd: fix memory leak on channel create 2018-11-13 11:17:03 -08:00
rtc rtc: hctosys: Add missing range error reporting 2018-11-21 09:26:03 +01:00
s390 s390/qeth: don't dump past end of unknown HW header 2018-10-10 08:53:22 +02:00
sbus
scsi scsi: qla2xxx: shutdown chip if reset fail 2018-11-21 09:25:57 +01:00
sfi
sh
sn
soc soc/tegra: pmc: Fix child-node lookup 2018-11-13 11:17:04 -08:00
spi spi: rspi: Fix interrupted DMA transfers 2018-10-03 17:01:49 -07:00
spmi
ssb
staging staging: wilc1000: Fix problem with wrong vif index 2018-11-10 07:42:50 -08:00
target scsi: iscsi: target: Don't use stack buffer for scatterlist 2018-10-18 09:13:20 +02:00
tc TC: Set DMA masks for devices 2018-11-13 11:17:02 -08:00
thermal thermal: of-thermal: disable passive polling when thermal zone is disabled 2018-10-03 17:01:51 -07:00
thunderbolt thunderbolt: Resume control channel after hibernation image is created 2018-04-24 09:34:12 +02:00
tty termios, tty/tty_baudrate.c: fix buffer overrun 2018-11-21 09:26:00 +01:00
uio uio: ensure class is registered before devices 2018-11-13 11:16:53 -08:00
usb usbip:vudc: BUG kmalloc-2048 (Not tainted): Poison overwritten 2018-11-13 11:16:55 -08:00
uwb uwb: hwa-rc: fix memory leak at probe 2018-10-03 17:01:42 -07:00
vfio vfio: platform: Fix reset module leak in error path 2018-08-03 07:55:13 +02:00
vhost vhost/scsi: truncate T10 PI iov_iter to prot_bytes 2018-11-21 09:26:00 +01:00
video mach64: fix image corruption due to reading accelerator registers 2018-11-21 09:26:00 +01:00
virt
virtio virtio: pci-legacy: Validate queue pfn 2018-09-15 09:42:57 +02:00
vlynq
vme
w1 w1: omap-hdq: fix missing bus unregister at removal 2018-11-13 11:17:01 -08:00
watchdog watchdog: sbsa: use 32-bit read for WCV 2018-05-30 07:50:34 +02:00
xen xen-swiotlb: use actually allocated size on check physical continuous 2018-11-13 11:16:54 -08:00
zorro zorro: Set up z->dev.dma_mask for the DMA API 2018-05-30 07:50:44 +02:00
Kconfig
Makefile