On 01/24/2013 10:14 PM, Florian Vaussard wrote: > You are right. But then the pwm core must provide a way to know if the pwm > access function are callable > from atomic context or not (the gpio framework provides gpio_cansleep()). > This implies a good amount of changes to the pwm framework, and currently we > are the only driver using non-atomic access. We have two drivers at the moment: pwm-twl and pwm-twl-led. However new out of SoC PWM drivers might come (for example for palmas). So it worth take a look at some generic implementation. -- Péter -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html