> Subject: [PATCH] pwm: fsl-ftm: set pwm_chip can_sleep flag > > The implementation of .config(), .enable() and .disable() operations in this > driver may sleep, thus set pwm_chip can_sleep flag. > > Signed-off-by: Axel Lin <[email protected]> > ---
Acked-by: Xiubo Li <[email protected]> @Thierry, There are still 4 patches before this one, and I'd like to know the status of them: [PATCHv2 0/4] FTM PWM adds regmap and endianness support. Thanks, BRs Xiubo > drivers/pwm/pwm-fsl-ftm.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c > index 420169e..a18bc8f 100644 > --- a/drivers/pwm/pwm-fsl-ftm.c > +++ b/drivers/pwm/pwm-fsl-ftm.c > @@ -454,6 +454,7 @@ static int fsl_pwm_probe(struct platform_device *pdev) > fpc->chip.of_pwm_n_cells = 3; > fpc->chip.base = -1; > fpc->chip.npwm = 8; > + fpc->chip.can_sleep = true; > > ret = pwmchip_add(&fpc->chip); > if (ret < 0) { > -- > 1.8.3.2 > >
