Skip to content

Commit f84fd5b

Browse files
Luke WangUwe Kleine-König
authored andcommitted
pwm: adp5585: Correct mismatched pwm chip info
The register addresses of ADP5585 and ADP5589 are swapped. Fixes: 75024f9 ("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>
1 parent 3a86608 commit f84fd5b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/pwm/pwm-adp5585.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,13 @@ static int adp5585_pwm_probe(struct platform_device *pdev)
190190
return 0;
191191
}
192192

193-
static const struct adp5585_pwm_chip adp5589_pwm_chip_info = {
193+
static const struct adp5585_pwm_chip adp5585_pwm_chip_info = {
194194
.pwm_cfg = ADP5585_PWM_CFG,
195195
.pwm_offt_low = ADP5585_PWM_OFFT_LOW,
196196
.pwm_ont_low = ADP5585_PWM_ONT_LOW,
197197
};
198198

199-
static const struct adp5585_pwm_chip adp5585_pwm_chip_info = {
199+
static const struct adp5585_pwm_chip adp5589_pwm_chip_info = {
200200
.pwm_cfg = ADP5589_PWM_CFG,
201201
.pwm_offt_low = ADP5589_PWM_OFFT_LOW,
202202
.pwm_ont_low = ADP5589_PWM_ONT_LOW,

0 commit comments

Comments
 (0)