Skip to content
Commit 3acdc971 authored by Jeff Daly's avatar Jeff Daly Committed by Carles Cufí
Browse files

drivers: pwm: mchp_xec: fix PWM control register updates



The pwm_mchp_xec driver doesn't clear the divisor or clock select fields
of the config register value before writing it back.  If the register
was previously written, the new values were being logically OR'd with
the prior values.

Signed-off-by: default avatarJeff Daly <jeffd@silicom-usa.com>
parent 7249594c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment