[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230406130055.1244344-1-thierry.reding@gmail.com>
Date: Thu, 6 Apr 2023 15:00:55 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, linux-pwm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [GIT PULL] pwm: Fixes for v6.3-rc6
Hi Linus,
The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:
Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git tags/pwm/for-6.3-rc6
for you to fetch changes up to 1271a7b98e7989ba6bb978e14403fc84efe16e13:
pwm: Zero-initialize the pwm_state passed to driver's .get_state() (2023-03-23 14:44:43 +0100)
Thanks,
Thierry
----------------------------------------------------------------
pwm: Fixes for v6.3-rc6
These are some fixes to make sure the PWM state structure is always
initialized to a known state. Prior to this it could happen in some
situations that random data from the stack would leak into the data
structure and cause subtle bugs.
----------------------------------------------------------------
Uwe Kleine-König (6):
pwm: hibvt: Explicitly set .polarity in .get_state()
pwm: cros-ec: Explicitly set .polarity in .get_state()
pwm: iqs620a: Explicitly set .polarity in .get_state()
pwm: sprd: Explicitly set .polarity in .get_state()
pwm: meson: Explicitly set .polarity in .get_state()
pwm: Zero-initialize the pwm_state passed to driver's .get_state()
drivers/pwm/core.c | 12 ++++++++++--
drivers/pwm/pwm-cros-ec.c | 1 +
drivers/pwm/pwm-hibvt.c | 1 +
drivers/pwm/pwm-iqs620a.c | 1 +
drivers/pwm/pwm-meson.c | 8 ++++++++
drivers/pwm/pwm-sprd.c | 1 +
6 files changed, 22 insertions(+), 2 deletions(-)
Powered by blists - more mailing lists