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: <20121106181939.61c50233@avionic-0020.adnet.avionic-design.de>
Date:	Tue, 6 Nov 2012 18:19:39 +0100
From:	Alban Bedel <alban.bedel@...onic-design.de>
To:	Alexandre Pereira da Silva <aletes.xgr@...il.com>
Cc:	Roland Stigge <stigge@...com.de>,
	Thierry Reding <thierry.reding@...onic-design.de>,
	LKML <linux-kernel@...r.kernel.org>,
	Alban Bedel <alban.bedel@...onic-design.de>
Subject: Re: [PATCH] pwm: lpc32xx - Fix the PWM polarity

On Tue, 6 Nov 2012 07:47:22 -0200
Alexandre Pereira da Silva <aletes.xgr@...il.com> wrote:

> Can you test the 0 and 255 values on actual hardware and see the effective
> values?

0   ->   0%
1   ->  99%
128 ->  50%
255 ->   1%

So yes 0 mean 256.

> It may be handled as the RELOADV where 0 really means 256. If so, you can
> use the same logic I used originally on the frequency division.

I'll look at this and submit a new patch.

Alban
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ