linux-stable/drivers
Kai-Heng Feng e74a4dc8f2 r8152: Set macpassthru in reset_resume callback
[ Upstream commit a54cdeeb04 ]

r8152 may fail to establish network connection after resume from system
suspend.

If the USB port connects to r8152 lost its power during system suspend,
the MAC address was written before is lost. The reason is that The MAC
address doesn't get written again in its reset_resume callback.

So let's set MAC address again in reset_resume callback. Also remove
unnecessary lock as no other locking attempt will happen during
reset_resume.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-10-29 09:16:59 +01:00
..
accessibility
acpi ACPI / PCI: fix acpi_pci_irq_enable() memory leak 2019-10-05 12:48:00 +02:00
amba
android binder: fix possible UAF when freeing buffer 2019-08-04 09:32:01 +02:00
ata libata: add SG safety checks in SFF pio transfers 2019-08-29 08:26:41 +02:00
atm Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105 2019-09-21 07:15:34 +02:00
auxdisplay auxdisplay: panel: need to delete scan_timer when misc_register fails in panel_attach 2019-09-06 10:20:43 +02:00
base base: soc: Export soc_device_register/unregister APIs 2019-10-05 12:47:47 +02:00
bcma
block nbd: fix max number of supported devs 2019-10-11 18:18:44 +02:00
bluetooth Bluetooth: btrtl: Additional Realtek 8822CE Bluetooth devices 2019-10-05 12:47:39 +02:00
bus
cdrom cdrom: Fix race condition in cdrom_sysctl_register 2019-04-05 22:31:35 +02:00
char ipmi_si: Only schedule continuously in the thread in maintenance mode 2019-10-07 18:54:59 +02:00
clk clk: at91: select parent if main oscillator or bypass is enabled 2019-10-07 18:55:06 +02:00
clocksource clocksource/drivers/exynos_mct: Increase priority over ARM arch timer 2019-07-31 07:28:30 +02:00
connector
cpufreq cpufreq/pasemi: fix use-after-free in pas_cpufreq_cpu_init() 2019-08-16 10:13:52 +02:00
cpuidle
crypto crypto: caam - fix concurrency issue in givencrypt descriptor 2019-10-11 18:18:33 +02:00
dax
dca
devfreq PM / devfreq: tegra: Fix kHz to Hz conversion 2019-10-11 18:18:30 +02:00
dio
dma dmaengine: ti: edma: Do not reset reserved paRAM slots 2019-10-05 12:48:00 +02:00
dma-buf dma-buf/sw_sync: Synchronize signal vs syncpt free 2019-10-07 18:55:07 +02:00
edac EDAC/amd64: Decode syndrome before translating address 2019-10-05 12:47:54 +02:00
eisa
extcon extcon: arizona: Disable mic detect if running when driver is removed 2019-05-31 06:47:28 -07:00
firewire
firmware firmware: google: increment VPD key_len properly 2019-10-17 13:43:45 -07:00
fmc
fpga fpga: altera-ps-spi: Fix getting of optional confd gpio 2019-09-21 07:15:32 +02:00
fsi
gpio gpiolib: don't clear FLAG_IS_OUT when emulating open-drain/open-source 2019-10-17 13:43:46 -07:00
gpu drm/amdgpu: Check for valid number of registers to read 2019-10-11 18:18:40 +02:00
hid HID: apple: Fix stuck function keys when using FN 2019-10-07 18:55:10 +02:00
hsi
hv Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup() 2019-05-10 17:53:08 +02:00
hwmon hwmon: (acpi_power_meter) Change log level for 'unsafe software power cap' 2019-10-05 12:48:00 +02:00
hwspinlock
hwtracing coresight: etm4x: Use explicit barriers on enable/disable 2019-10-11 18:18:48 +02:00
i2c i2c-cht-wc: Fix lockdep warning 2019-10-07 18:55:08 +02:00
ide
idle x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:18:42 +02:00
iio iio: adc: hx711: fix bug in sampling of data 2019-10-17 13:43:49 -07:00
infiniband IB/hfi1: Define variables as unsigned long to fix KASAN warning 2019-10-05 12:48:04 +02:00
input Input: elan_i2c - remove Lenovo Legion Y7000 PnpID 2019-09-21 07:15:26 +02:00
iommu iommu/iova: Avoid false sharing on fq_timer_on 2019-10-05 12:47:58 +02:00
ipack
irqchip irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices 2019-10-05 12:47:36 +02:00
isdn mISDN: enforce CAP_NET_RAW for raw sockets 2019-10-05 12:47:43 +02:00
leds leds: leds-lp5562 allow firmware files up to the maximum length 2019-10-05 12:47:45 +02:00
lightnvm
macintosh
mailbox mailbox: handle failed named mailbox channel request 2019-07-31 07:28:55 +02:00
mcb
md md/raid0: avoid RAID0 data corruption due to layout confusion. 2019-10-05 12:48:13 +02:00
media media: stkwebcam: fix runtime PM after driver unbind 2019-10-17 13:43:54 -07:00
memory memory: tegra: Fix integer overflow on tick value calculation 2019-05-25 18:25:25 +02:00
memstick memstick: Fix error cleanup path of memstick_init 2019-07-31 07:28:50 +02:00
message
mfd mfd: intel-lpss: Remove D3cold delay 2019-10-07 18:55:08 +02:00
misc VMCI: Release resource if the work is already queued 2019-09-06 10:20:59 +02:00
mmc mmc: sdhci-of-esdhc: set DMA snooping based on DMA coherence 2019-10-11 18:18:36 +02:00
mtd mtd: cfi_cmdset_0002: Use chip_good() to retry in do_write_oneword() 2019-10-05 12:47:33 +02:00
mux
net r8152: Set macpassthru in reset_resume callback 2019-10-29 09:16:59 +01:00
nfc st_nci_hci_connectivity_event_received: null check the allocation 2019-08-29 08:26:38 +02:00
ntb
nubus
nvdimm libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields 2019-07-31 07:28:41 +02:00
nvme nvmet: fix data units read and written counters in SMART log 2019-10-05 12:47:58 +02:00
nvmem nvmem: Use the same permissions for eeprom as for nvmem 2019-09-19 09:08:08 +02:00
of
oprofile
parisc parisc: Disable HP HSC-PCI Cards to prevent kernel crash 2019-10-05 12:48:05 +02:00
parport parport: Fix mem leak in parport_register_dev_model 2019-06-25 11:36:51 +08:00
pci PCI: exynos: Propagate errors for optional PHYs 2019-10-07 18:55:11 +02:00
pcmcia
perf drivers/perf: arm_pmu: Fix failure path in PM notifier 2019-08-06 19:05:27 +02:00
phy phy: renesas: rcar-gen3-usb2: Disable clearing VBUS in over-current 2019-09-21 07:15:27 +02:00
pinctrl pinctrl: tegra: Fix write barrier placement in pmx_writel 2019-10-07 18:55:03 +02:00
platform platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI table 2019-09-19 09:08:08 +02:00
pnp
power power: supply: sysfs: ratelimit property read error message 2019-10-05 12:47:36 +02:00
powercap x86/cpu: Sanitize FAM6_ATOM naming 2019-05-14 19:18:42 +02:00
pps drivers/pps/pps.c: clear offset flags in PPS_SETPARAMS ioctl 2019-08-04 09:32:03 +02:00
ps3
ptp
pwm pwm: stm32-lp: Add check in case requested period cannot be achieved 2019-10-11 18:18:40 +02:00
rapidio drivers/rapidio/devices/rio_mport_cdev.c: NUL terminate some strings 2019-08-06 19:05:24 +02:00
ras RAS/CEC: Fix pfn insertion 2019-07-31 07:28:24 +02:00
regulator regulator: Defer init completion for a while after late_initcall 2019-10-05 12:48:08 +02:00
remoteproc
reset
rpmsg
rtc rtc: snvs: fix possible race condition 2019-10-07 18:55:10 +02:00
s390 s390/cio: exclude subchannels with no parent from pseudo check 2019-10-11 18:18:28 +02:00
sbus
scsi scsi: qla2xxx: Fix unbound sleep in fcport delete path. 2019-10-29 09:16:53 +01:00
sfi
sh
sn
soc soc: rockchip: Set the proper PWM for rk3288 2019-06-15 11:54:55 +02:00
spi spi: bcm2835aux: fix corruptions for longer spi transfers 2019-09-10 10:32:19 +01:00
spmi
ssb ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit 2019-05-31 06:47:13 -07:00
staging Staging: fbtft: fix memory leak in fbtft_framebuffer_alloc 2019-10-17 13:43:47 -07:00
target scsi: iscsi: set auth_protocol back to NULL if CHAP_A value is not supported 2019-07-31 07:28:18 +02:00
tc
tee
thermal thermal: Fix use-after-free when unregistering thermal zone device 2019-10-11 18:18:41 +02:00
thunderbolt thunderbolt: Fix to check for kmemdup failure 2019-05-31 06:47:34 -07:00
tty serial: uartlite: fix exit path null pointer 2019-10-17 13:43:29 -07:00
uio
usb USB: legousbtower: fix use-after-free on release 2019-10-17 13:43:37 -07:00
uwb
vfio vfio_pci: Restore original state on release 2019-10-07 18:55:03 +02:00
vhost vhost: make sure log_num < in_num 2019-09-16 08:20:46 +02:00
video video: ssd1307fb: Start page range at page_offset 2019-10-07 18:54:58 +02:00
virt drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl 2019-05-16 19:42:35 +02:00
virtio virtio_pci: fix a NULL pointer reference in vp_del_vqs 2019-05-10 17:53:11 +02:00
vlynq
vme
w1 w1: fix the resume command API 2019-05-31 06:47:21 -07:00
watchdog watchdog: aspeed: Add support for AST2600 2019-10-11 18:18:39 +02:00
xen xen/pci: reserve MCFG areas earlier 2019-10-11 18:18:38 +02:00
zorro
Kconfig
Makefile