[PATCH] pwm: atmel-tcb: Fix the channel restart write on resume

Uwe Kleine-König ukleinek at kernel.org
Fri Nov 20 08:06:35 PST 2026


On Thu, Nov 12, 2026 at 03:16:15PM +0800, Zhu Jun wrote:
> atmel_tcb_pwm_resume() passes the start command as the register address
> and the channel control register offset as the value. The command is
> 0x5, which is not an aligned register address, so regmap rejects the
> write and an enabled PWM channel is not restarted after resume.
> 
> Pass the channel control register first and the clock-enable and
> software-trigger bits second.
> 
> Fixes: 061f8572a31c ("pwm: atmel-tcb: Switch to new binding")
> Signed-off-by: Zhu Jun <zhujun2 at cmss.chinamobile.com>

Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next

Thanks
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261120/66b9de7e/attachment.sig>


More information about the linux-arm-kernel mailing list