lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230118154817.97364-1-u.kleine-koenig@pengutronix.de>
Date:   Wed, 18 Jan 2023 16:48:15 +0100
From:   Uwe Kleine-König 
        <u.kleine-koenig@...gutronix.de>
To:     Thierry Reding <thierry.reding@...il.com>,
        Linus Walleij <linus.walleij@...aro.org>
Cc:     linux-pwm@...r.kernel.org, kernel@...gutronix.de,
        linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] pwm: ab8500: Fix .apply() and implement .get_state()

Hello,

during review of my previous pwm-ab8500 patch I learned that there is a
(somewhat) publically available reference manual. Reading in it showed
that .apply() is still more broken that I assumed by just reading the
code.

This series first fixes .apply() to not be off by a factor of ~3000 and
then adds a .get_state() callback.

Note this is only compile tested as I don't have the hardware.
Also note this breaks all consumers that relied on the previously broken
behaviour.

Uwe Kleine-König (2):
  pwm: ab8500: Fix calculation of duty and period
  pwm: ab8500: Implement .get_state()

 drivers/pwm/pwm-ab8500.c | 112 +++++++++++++++++++++++++++++++++++----
 1 file changed, 103 insertions(+), 9 deletions(-)

base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2
-- 
2.39.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ