linux-stable/drivers
Uwe Kleine-König b43a8939f1 pwm: sprd: Explicitly set .polarity in .get_state()
[ Upstream commit 2be4dcf662 ]

The driver only supports normal polarity. Complete the implementation of
.get_state() by setting .polarity accordingly.

Fixes: 8aae4b02e8 ("pwm: sprd: Add Spreadtrum PWM support")
Link: https://lore.kernel.org/r/20230228135508.1798428-5-u.kleine-koenig@pengutronix.de
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>
2023-04-20 12:10:21 +02:00
..
accessibility speakup: fix a segfault caused by switching consoles 2022-11-25 17:45:50 +01:00
acpi ACPI: video: Fix Lenovo Ideapad Z570 DMI match 2023-03-11 16:39:51 +01:00
amba
android file: Rename __close_fd_get_file close_fd_get_file 2023-01-04 11:39:18 +01:00
ata ata: libata: Fix sata_down_spd_limit() when no link speed is reported 2023-02-15 17:22:13 +01:00
atm atm: idt77252: fix kmemleak when rmmod idt77252 2023-04-05 11:23:35 +02:00
auxdisplay
base driver core: Fix test_async_probe_init saves device in wrong array 2023-02-01 08:23:15 +01:00
bcma
block block: sunvdc: add check for mdesc_grab() returning NULL 2023-03-22 13:29:59 +01:00
bluetooth Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work 2023-04-05 11:23:36 +02:00
bus bus: imx-weim: fix branch condition evaluates to a garbage value 2023-04-05 11:23:44 +02:00
cdrom
char ipmi:ssif: Add a timer between request retries 2023-04-05 11:23:30 +02:00
clk clk: HI655X: select REGMAP instead of depending on it 2023-03-22 13:29:56 +01:00
clocksource clocksource/drivers/timer-ti-dm: Fix missing clk_disable_unprepare in dmtimer_systimer_init_clock() 2023-01-14 10:15:20 +01:00
connector
counter counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update 2023-01-14 10:15:58 +01:00
cpufreq cpufreq: armada-37xx: stop using 0 as NULL pointer 2023-02-01 08:23:17 +01:00
cpuidle cpuidle: psci: Iterate backwards over list in psci_pd_remove() 2023-03-22 13:30:05 +01:00
crypto crypto: hisilicon: Wipe entire pool on error 2023-03-11 16:39:50 +01:00
dax dax/kmem: Fix leak of memory-hotplug resources 2023-03-11 16:40:04 +01:00
dca
devfreq PM/devfreq: governor: Add a private governor_data for governor 2023-01-14 10:16:31 +01:00
dio drivers: dio: fix possible memory leak in dio_init() 2023-01-14 10:15:54 +01:00
dma dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init 2023-02-06 07:56:15 +01:00
dma-buf dma-buf: fix racing conflict of dma_heap_add() 2022-12-02 17:40:01 +01:00
edac EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info 2023-02-01 08:23:23 +01:00
eisa
extcon
firewire firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region 2023-02-15 17:22:09 +01:00
firmware firmware: arm_scmi: Fix device node validation for mailbox transport 2023-04-05 11:23:42 +02:00
fpga fpga: stratix10-soc: Fix return value check in s10_ops_write_init() 2023-02-15 17:22:19 +01:00
fsi WRITE is "data source", not destination... 2023-02-15 17:22:11 +01:00
gnss
gpio gpio: GPIO_REGMAP: select REGMAP instead of depending on it 2023-04-20 12:10:21 +02:00
gpu drm/amd/display: Add DSC Support for Synaptics Cascaded MST Hub 2023-04-05 11:23:51 +02:00
greybus
hid HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded 2023-04-05 11:23:38 +02:00
hsi HSI: omap_ssi_core: Fix error handling in ssi_init() 2023-01-14 10:16:03 +01:00
hv Drivers: vmbus: Check for channel allocation before looking up relids 2023-04-20 12:10:21 +02:00
hwmon hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs 2023-04-05 11:23:37 +02:00
hwspinlock hwspinlock: qcom: correct MMIO max register for newer SoCs 2022-11-16 09:57:07 +01:00
hwtracing coresight: cti: Fix hang in cti_disable_hw() 2022-11-10 18:14:25 +01:00
i2c i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer() 2023-04-05 11:23:42 +02:00
i3c
ide
idle
iio iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word() 2023-03-11 16:40:17 +01:00
infiniband IB/hfi1: Update RMT size calculation 2023-03-11 16:40:15 +01:00
input Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table 2023-04-05 11:23:49 +02:00
interconnect interconnect: qcom: osm-l3: fix icc_onecell_data allocation 2023-04-05 11:23:29 +02:00
iommu iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter 2023-03-17 08:45:13 +01:00
ipack
irqchip irq: Fix typos in comments 2023-03-17 08:45:07 +01:00
isdn mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave() 2023-01-14 10:16:10 +01:00
leds leds: led-core: Fix refcount leak in of_led_get() 2023-03-11 16:39:40 +01:00
lightnvm
macintosh macintosh: windfarm: Use unsigned type for 1-bit bitfields 2023-03-17 08:45:14 +01:00
mailbox mailbox: zynq-ipi: fix error handling while device_register() fails 2023-01-14 10:16:12 +01:00
mcb mcb: mcb-parse: fix error handing in chameleon_parse_gdd() 2023-01-14 10:15:59 +01:00
md md: avoid signed overflow in slot_store() 2023-04-05 11:23:44 +02:00
media media: m5mols: fix off-by-one loop termination error 2023-03-22 13:30:01 +01:00
memory memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe() 2023-02-01 08:23:08 +01:00
memstick
message
mfd mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak 2023-03-11 16:40:15 +01:00
misc mei: bus-fixup:upon error print return values of send and receive 2023-03-11 16:40:16 +01:00
mmc mmc: sdhci_am654: lower power-on failed message severity 2023-03-22 13:30:04 +01:00
most
mtd mtd: rawnand: meson: invalidate cache on polling ECC bit 2023-04-05 11:23:46 +02:00
mux
net net: phy: dp83869: fix default value for tx-/rx-internal-delay 2023-04-05 11:23:50 +02:00
nfc nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition 2023-03-22 13:29:58 +01:00
ntb
nubus
nvdimm
nvme nvmet: avoid potential UAF in nvmet_req_complete() 2023-03-22 13:29:59 +01:00
nvmem nvmem: core: fix return value 2023-02-22 12:56:00 +01:00
of of/address: Return an error when no valid dma-ranges are found 2023-02-15 17:22:22 +01:00
opp OPP: fix error checking in opp_migrate_dentry() 2023-03-11 16:39:26 +01:00
oprofile
parisc parisc: led: Fix potential null-ptr-deref in start_task() 2023-01-14 10:16:36 +01:00
parport parport_pc: Avoid FIFO port location truncation 2022-11-25 17:45:44 +01:00
pci PCI/DPC: Await readiness of secondary bus after reset 2023-03-22 13:30:06 +01:00
pcmcia
perf perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init() 2023-01-14 10:15:12 +01:00
phy phy: rockchip-typec: Fix unsigned comparison with less than zero 2023-03-11 16:40:18 +01:00
pinctrl pinctrl: at91-pio4: fix domain name assignment 2023-04-05 11:23:50 +02:00
platform platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl 2023-04-05 11:23:37 +02:00
pnp PNP: fix name memory leak in pnp_alloc_dev() 2023-01-14 10:15:17 +01:00
power power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition 2023-04-05 11:23:32 +02:00
powercap powercap: fix possible name leak in powercap_register_zone() 2023-03-11 16:39:23 +01:00
pps
ps3
ptp ptp_qoriq: fix memory leak in probe() 2023-04-05 11:23:47 +02:00
pwm pwm: sprd: Explicitly set .polarity in .get_state() 2023-04-20 12:10:21 +02:00
rapidio rapidio: devices: fix missing put_device in mport_cdev_open 2023-01-14 10:15:23 +01:00
ras
regulator regulator: Handle deferred clk 2023-04-05 11:23:47 +02:00
remoteproc remoteproc/mtk_scp: Move clk ops outside send_lock 2023-03-11 16:40:04 +01:00
reset
rpmsg rpmsg: glink: Avoid infinite loop on intent for missing channel 2023-03-11 16:39:47 +01:00
rtc rtc: sun6i: Always export the internal oscillator 2023-03-11 16:40:14 +01:00
s390 s390/vfio-ap: fix memory leak in vfio_ap device driver 2023-04-05 11:23:48 +02:00
sbus
scsi scsi: megaraid_sas: Fix crash after a double completion 2023-04-05 11:23:47 +02:00
sfi
sh
siox siox: fix possible memory leak in siox_device_add() 2022-11-25 17:45:44 +01:00
slimbus slimbus: stream: correct presence rate frequencies 2022-11-25 17:45:50 +01:00
soc PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe() 2023-02-01 08:23:11 +01:00
soundwire soundwire: cadence: Drain the RX FIFO after an IO timeout 2023-03-11 16:40:18 +01:00
spi spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one() 2023-03-11 16:39:38 +01:00
spmi
ssb
staging staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh 2023-03-13 10:19:36 +01:00
target scsi: target: iscsi: Fix an error message in iscsi_check_key() 2023-04-05 11:23:38 +02:00
tc
tee tee: amdtee: fix race condition in amdtee_open_session 2023-04-05 11:23:41 +02:00
thermal thermal: intel: BXT_PMIC: select REGMAP instead of depending on it 2023-03-11 16:40:15 +01:00
thunderbolt thunderbolt: Use const qualifier for ring_interrupt_index 2023-04-05 11:23:37 +02:00
tty serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it 2023-04-05 11:23:31 +02:00
uio uio: uio_dmem_genirq: Fix deadlock between irq config and handling 2023-01-14 10:15:55 +01:00
usb usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC 2023-04-05 11:23:43 +02:00
vdpa vdpa/mlx5: Don't clear mr struct on destroy MR 2023-03-11 16:39:45 +01:00
vfio vfio/type1: prevent underflow of locked_vm via exec() 2023-03-11 16:40:07 +01:00
vhost vhost/net: Clear the pending messages when the backend is removed 2023-02-15 17:22:11 +01:00
video fbdev: au1200fb: Fix potential divide by zero 2023-04-05 11:23:46 +02:00
virt
virtio
visorbus
vlynq
vme vme: Fix error not catched in fake_init() 2023-01-14 10:16:00 +01:00
w1 w1: fix WARNING after calling w1_process() 2023-02-01 08:23:15 +01:00
watchdog watchdog: pcwd_usb: Fix attempting to access uninitialized memory 2023-03-11 16:40:12 +01:00
xen fix "direction" argument of iov_iter_kvec() 2023-02-15 17:22:12 +01:00
zorro
Kconfig
Makefile