[lkml]   [2011]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PWM v6 1/3] PWM: Implement a generic PWM framework

On Sun, Mar 6, 2011 at 12:35 AM, Lars-Peter Clausen <> wrote:
> 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.

Not sure what you mean here. Can you elaborate?

Bill Gatliff
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2011-03-07 17:31    [W:0.151 / U:5.076 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site