linux-stable/drivers
Uwe Kleine-König df87af9a83 pwm: spear: Don't modify HW state in .remove callback
[ Upstream commit b601a18f12 ]

A consumer is expected to disable a PWM before calling pwm_put(). And if
they didn't there is hopefully a good reason (or the consumer needs
fixing). Also if disabling an enabled PWM was the right thing to do,
this should better be done in the framework instead of in each low level
driver.

So drop the hardware modification from the .remove() callback.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:17:51 +02:00
..
accessibility
acpi ACPI: sysfs: Fix a buffer overrun problem with description_show() 2021-07-20 16:17:35 +02:00
amba amba: Fix resource leak for drivers without .remove 2021-03-03 18:22:46 +01:00
android
ata ata: ahci_sunxi: Disable DIPM 2021-07-20 16:17:46 +02:00
atm atm: nicstar: register the interrupt handler in the right place 2021-07-20 16:17:44 +02:00
auxdisplay auxdisplay: ht16k33: Fix refresh rate handling 2021-03-03 18:22:46 +01:00
base Revert "PM: runtime: Update device status before letting suppliers suspend" 2021-03-24 11:04:55 +01:00
bcma
block xen-blkback: don't leak persistent grants from xen_blkbk_map() 2021-03-30 14:40:13 +02:00
bluetooth Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc. 2021-07-20 16:17:45 +02:00
bus bus: qcom: Put child node before return 2021-05-22 10:57:28 +02:00
cdrom cdrom: gdrom: initialize global variable at init time 2021-05-26 11:47:00 +02:00
char ipmi/watchdog: Stop watchdog timer when the current action is 'none' 2021-07-20 16:17:47 +02:00
clk clk: tegra: Ensure that PLLU configuration is applied properly 2021-07-20 16:17:43 +02:00
clocksource clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined 2021-03-03 18:22:45 +01:00
connector
cpufreq cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove() 2021-03-03 18:22:38 +01:00
cpuidle
crypto crypto: nx - Fix RCU warning in nx842_OF_upd_status 2021-07-20 16:17:35 +02:00
dax
dca
devfreq
dio
dma dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc 2021-06-30 08:48:54 -04:00
dma-buf
edac EDAC/amd64: Fix PCI component registration 2020-12-29 13:47:06 +01:00
eisa
extcon extcon: max8997: Add missing modalias string 2021-07-20 16:17:41 +02:00
firewire firewire: nosy: Fix a use-after-free bug in nosy_ioctl() 2021-04-07 12:47:03 +02:00
firmware qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute 2021-07-20 16:17:47 +02:00
fmc
fpga
fsi
gpio gpio: zynq: Check return value of pm_runtime_get_sync 2021-07-20 16:17:50 +02:00
gpu drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create() 2021-07-20 16:17:46 +02:00
hid HID: wacom: Correct base usage for capacitive ExpressKey status bits 2021-07-20 16:17:34 +02:00
hsi HSI: core: fix resource leaks in hsi_add_client_from_dt() 2021-05-22 10:57:31 +02:00
hv hv_utils: Fix passing zero to 'PTR_ERR' warning 2021-07-20 16:17:33 +02:00
hwmon hwmon: (max31790) Fix fan speed reporting for fan7..12 2021-07-20 16:17:35 +02:00
hwspinlock
hwtracing intel_th: Wait until port is in reset before programming it 2021-07-20 16:17:51 +02:00
i2c i2c: core: Disable client irq on reboot/shutdown 2021-07-20 16:17:51 +02:00
ide scsi: ide: Do not set the RQF_PREEMPT flag for sense requests 2021-01-12 20:09:05 +01:00
idle
iio iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-07-20 16:17:40 +02:00
infiniband RDMA/cma: Fix rdma_resolve_route() memory leak 2021-07-20 16:17:45 +02:00
input Input: hil_kbd - fix error return code in hil_dev_connect() 2021-07-20 16:17:40 +02:00
iommu iommu/vt-d: Fix sysfs leak in alloc_iommu() 2021-06-03 08:36:12 +02:00
ipack ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe 2021-07-20 16:17:47 +02:00
irqchip irqchip/mips-cpu: Set IPI domain parent chip 2021-01-30 13:31:13 +01:00
isdn mISDN: fix possible use-after-free in HFC_cleanup() 2021-07-20 16:17:42 +02:00
leds leds: ktd2692: Fix an error handling path 2021-07-20 16:17:41 +02:00
lightnvm
macintosh
mailbox
mcb
md dm btree remove: assign new_root only when removal succeeds 2021-07-20 16:17:47 +02:00
media media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K 2021-07-20 16:17:47 +02:00
memory memory: gpmc: fix out of bounds read and dereference on gpmc_cs[] 2021-05-22 10:57:26 +02:00
memstick memstick: r592: Fix error return in r592_probe() 2020-12-29 13:46:58 +01:00
message
mfd mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE 2021-07-20 16:17:49 +02:00
misc misc/libmasm/module: Fix two use after free in ibmasm_init_one 2021-07-20 16:17:48 +02:00
mmc mmc: core: Allow UHS-I voltage switch for SDSC cards if supported 2021-07-20 16:17:46 +02:00
mtd mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init 2021-05-22 10:57:28 +02:00
mux
net sfc: error code if SRIOV cannot be disabled 2021-07-20 16:17:45 +02:00
nfc nfc: pn533: prevent potential memory corruption 2021-05-22 10:57:32 +02:00
ntb
nubus
nvdimm libnvdimm/dimm: Avoid race between probe and available_slots_show() 2021-03-03 18:22:54 +01:00
nvme nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue() 2021-06-30 08:48:47 -04:00
nvmem
of of: Fix truncation of memory sizes on 32-bit platforms 2021-07-20 16:17:40 +02:00
oprofile
parisc
parport
pci PCI: aardvark: Fix kernel panic during PIO transfer 2021-07-20 16:17:48 +02:00
pcmcia
perf perf/arm_pmu_platform: Fix error handling 2021-05-22 10:57:17 +02:00
phy phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe() 2021-07-20 16:17:41 +02:00
pinctrl pinctrl/amd: Add device HID for new AMD GPIO controller 2021-07-20 16:17:46 +02:00
platform platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard() 2021-07-20 16:17:33 +02:00
pnp
power power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove() 2021-05-22 10:57:19 +02:00
powercap
pps
ps3 powerpc/ps3: use dma_mapping_error() 2020-12-29 13:47:02 +01:00
ptp
pwm pwm: spear: Don't modify HW state in .remove callback 2021-07-20 16:17:51 +02:00
rapidio rapidio: handle create_workqueue() failure 2021-05-26 11:46:59 +02:00
ras
regulator regulator: da9052: Ensure enough delay time for .set_voltage_time_sel 2021-07-20 16:17:32 +02:00
remoteproc remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load 2021-02-23 14:00:29 +01:00
reset
rpmsg rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data() 2021-05-22 10:57:38 +02:00
rtc rtc: stm32: Fix unbalanced clk_disable_unprepare() on probe error path 2021-07-20 16:17:29 +02:00
s390 s390/sclp_vt220: fix console name to match device 2021-07-20 16:17:50 +02:00
sbus
scsi scsi: qedi: Fix null ref during abort handling 2021-07-20 16:17:49 +02:00
sfi
sh
sn
soc soc: qcom: mdt_loader: Detect truncated read of segments 2021-05-22 10:57:29 +02:00
spi spi: spi-sun6i: Fix chipselect/clock bug 2021-07-20 16:17:35 +02:00
spmi
ssb ssb: sdio: Don't overwrite const buffer if block_write fails 2021-07-20 16:17:30 +02:00
staging staging: rtl8723bs: fix macro value for 2.4Ghz only device 2021-07-20 16:17:51 +02:00
target scsi: target: core: Fix warning on realtime kernels 2021-06-30 08:48:46 -04:00
tc
tee tee: optee: do not check memref size on return from Secure World 2021-05-22 10:57:16 +02:00
thermal thermal/core/fair share: Lock the thermal zone while looping over instances 2021-05-22 10:57:41 +02:00
thunderbolt thunderbolt: dma_port: Fix NVM read buffer bounds and offset issue 2021-06-03 08:36:15 +02:00
tty tty: serial: 8250: serial_cs: Fix a memory leak in error handling path 2021-07-20 16:17:49 +02:00
uio uio: Fix use-after-free in uio_unregister_device() 2020-11-18 18:27:58 +01:00
usb usb: gadget: hid: fix error return code in hid_bind() 2021-07-20 16:17:50 +02:00
uwb
vfio vfio/platform: fix module_put call in error flow 2021-06-10 12:43:50 +02:00
vhost vhost: Fix vhost_vq_reset() 2021-04-07 12:47:01 +02:00
video backlight: lm3630a: Fix return code of .update_status() callback 2021-07-20 16:17:51 +02:00
virt
virtio
vlynq
vme
w1 w1: ds2438: fixing bug that would always get page0 2021-07-20 16:17:49 +02:00
watchdog watchdog: mei_wdt: request stop on unregister 2021-03-03 18:22:54 +01:00
xen xen/events: reset active flag for lateeoi events later 2021-07-11 12:48:13 +02:00
zorro
Kconfig
Makefile