Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pwm: adp5585: Correct mismatched pwm chip info

The register addresses of ADP5585 and ADP5589 are swapped.

Fixes: 75024f97e82e ("pwm: adp5585: add support for adp5589")
Signed-off-by: Luke Wang <ziniu.wang_1@nxp.com>
Acked-by: Nuno Sá <nuno.sa@analog.com>
Tested-by: Liu Ying <victor.liu@nxp.com> # ADP5585 PWM
Link: https://patch.msgid.link/20251114065308.2074893-1-ziniu.wang_1@nxp.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>

authored by

Luke Wang and committed by
Uwe Kleine-König
f84fd5be 3a866087

+2 -2
+2 -2
drivers/pwm/pwm-adp5585.c
··· 190 190 return 0; 191 191 } 192 192 193 - static const struct adp5585_pwm_chip adp5589_pwm_chip_info = { 193 + static const struct adp5585_pwm_chip adp5585_pwm_chip_info = { 194 194 .pwm_cfg = ADP5585_PWM_CFG, 195 195 .pwm_offt_low = ADP5585_PWM_OFFT_LOW, 196 196 .pwm_ont_low = ADP5585_PWM_ONT_LOW, 197 197 }; 198 198 199 - static const struct adp5585_pwm_chip adp5585_pwm_chip_info = { 199 + static const struct adp5585_pwm_chip adp5589_pwm_chip_info = { 200 200 .pwm_cfg = ADP5589_PWM_CFG, 201 201 .pwm_offt_low = ADP5589_PWM_OFFT_LOW, 202 202 .pwm_ont_low = ADP5589_PWM_ONT_LOW,