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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D732B25.2010708@metafoo.de>
Date:	Sun, 06 Mar 2011 07:35:17 +0100
From:	Lars-Peter Clausen <lars@...afoo.de>
To:	Bill Gatliff <bgat@...lgatliff.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: [PWM v6 1/3] PWM: Implement a generic PWM framework

On 03/06/2011 07:16 AM, Lars-Peter Clausen wrote:
> On 03/06/2011 05:17 AM, Bill Gatliff wrote:
>> +
>> +
>> +pwm_set_handler() -- Defines an end-of-period callback.  The indicated
>> +function will be invoked in a worker thread at the end of each PWM
>> +period, and can subsequently invoke pwm_config(), etc.  Must be used
>> +with extreme care for high-speed PWM outputs.  Set the handler
>> +function to NULL to un-set the handler.
>> +

This looks like a poor man's IRQ handler implementation. In my opinion something
like pwm_to_irq would be better suited interface.

- Lars
--
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