[PATCH 2/2] pwm: atmel-tcb: Simplify checking the companion output

Uwe Kleine-König u.kleine-koenig at baylibre.com
Wed Jul 10 08:58:50 PDT 2024


On Wed, Jul 10, 2024 at 04:17:47PM +0200, Nicolas Ferre wrote:
> On 09/07/2024 at 12:18, Uwe Kleine-König wrote:
> > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> > 
> > The two outputs provided by the supported hardware share some settings,
> > so access to the other PWM is required when one of them is configured.
> > 
> > Instead of an explicit if to deterimine the other PWM just use
> > hwpwm ^ 1. Further atcbpwm is never NULL, so drop the corresponding
> > check.
> > 
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>
> 
> Acked-by: Nicolas Ferre <nicolas.ferre at microchip.com>

Thanks, I applied both patches with your Ack to my pwm/for-next branch.

Best regards
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/20240710/7071456d/attachment.sig>


More information about the linux-arm-kernel mailing list