Thread (7 messages) 7 messages, 2 authors, 2024-07-10

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

From: Uwe Kleine-König <hidden>
Date: 2024-07-10 15:59:21
Also in: linux-pwm

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:
quoted
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 <redacted>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Thanks, I applied both patches with your Ack to my pwm/for-next branch.

Best regards
Uwe

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help