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
| ||
|
Date: Mon, 25 May 2020 17:38:16 +0200 From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de> To: Paul Cercueil <paul@...pouillou.net> Cc: Thierry Reding <thierry.reding@...il.com>, od@...c.me, linux-pwm@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH v2 2/4] pwm: jz4740: Enhance precision in calculation of duty cycle On Mon, May 25, 2020 at 02:57:20PM +0200, Paul Cercueil wrote: > Calculating the hardware value for the duty from the hardware value of > the period resulted in a precision loss versus calculating it from the > clock rate directly. > > (Also remove a cast that doesn't really need to be here) > > Signed-off-by: Paul Cercueil <paul@...pouillou.net> > --- > > Notes: > v2: New patch. I don't consider this a fix but an enhancement, since the old > behaviour was in place since the driver was born in ~2010, so no Fixes tag. I would not hesitate and add: Fixes: f6b8a5700057 ("pwm: Add Ingenic JZ4740 support") Suggested-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de> Thanks for picking this up, Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Powered by blists - more mailing lists