Messages in this thread |  | | Date | Sun, 31 Oct 2021 18:43:47 +0100 | From | Uwe Kleine-König <> | Subject | Re: [PATCH] media: ir-rx51: Switch to atomic PWM API |
| |
On Sat, Oct 30, 2021 at 08:20:50AM -0300, Maíra Canal wrote: > Hello Uwe, > > > Doing this here introduces a change in behaviour. Better do this after > > pwm_get(). > > I didn't really get this feedback. Isn't pwm_init_state after pwm_get? > Or should it be before the error treatment of pwm_get?
It is, but it might be repeated resetting the pwm settings when the device is reopened.
Best regards Uwe
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ | [unhandled content-type:application/pgp-signature] |  |