Aw: Re: [PATCH v3] pwm: bcm2835: Support apply function for atomic configuration

2020-12-11 Thread Lino Sanfilippo
Hi Uwe, > Gesendet: Donnerstag, 10. Dezember 2020 um 12:43 Uhr > Von: "Uwe Kleine-König" > An: "Lino Sanfilippo" > Cc: thierry.red...@gmail.com, lee.jo...@linaro.org, nsaenzjulie...@suse.de, > f.faine...@gmail.com, r...@broadcom.com, s...@mess.org, > sbran...@broadcom.com, bcm-kernel-feedback-

Aw: Re: [PATCH v3] pwm: bcm2835: Support apply function for atomic configuration

2020-12-09 Thread Lino Sanfilippo
Hi Uwe > Hello Lino, > > On Tue, Dec 08, 2020 at 11:01:45PM +0100, Lino Sanfilippo wrote: > > Use the newer .apply function of pwm_ops instead of .config, .enable, > > .disable and .set_polarity. This guarantees atomic changes of the pwm > > controller configuration. It also reduces the size of th