Skip to content

Commit fdeee1c

Browse files
committed
Merge tag 'pwm/for-6.18-rc7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux
Pull pwm fix from Uwe Kleine-König: "Correct mismatched pwm chip info for adp5585. Luke Wang found a problem in the pwm-adp5585 driver about how register information is mapped to the different device variants. This effectively made the driver non-functional. That didn't pop up before because the driver change was developed as part of a bigger mfd series and the original author didn't retest PWM functionality after it was tested in an earlier revision but then reworked" * tag 'pwm/for-6.18-rc7-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux: pwm: adp5585: Correct mismatched pwm chip info
2 parents 0678f56 + f84fd5b commit fdeee1c

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)