Linux GPIO subsystem development
 help / color / mirror / Atom feed
* [PATCH] pwm: adp5585: correct mismatched pwm chip info
@ 2025-11-14  6:53 ziniu.wang_1
  2025-11-14  7:58 ` Liu Ying
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: ziniu.wang_1 @ 2025-11-14  6:53 UTC (permalink / raw)
  To: laurent.pinchart, ukleinek, nuno.sa, lee
  Cc: linux-gpio, linux-pwm, linux-kernel, imx

From: Luke Wang <ziniu.wang_1@nxp.com>

The register addresses of ADP5585 and ADP5589 are reversed.

Fixes: 75024f97e82e ("pwm: adp5585: add support for adp5589")

Signed-off-by: Luke Wang <ziniu.wang_1@nxp.com>
---
 drivers/pwm/pwm-adp5585.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pwm/pwm-adp5585.c b/drivers/pwm/pwm-adp5585.c
index dc2860979e24..806f8d79b0d7 100644
--- a/drivers/pwm/pwm-adp5585.c
+++ b/drivers/pwm/pwm-adp5585.c
@@ -190,13 +190,13 @@ static int adp5585_pwm_probe(struct platform_device *pdev)
 	return 0;
 }
 
-static const struct adp5585_pwm_chip adp5589_pwm_chip_info = {
+static const struct adp5585_pwm_chip adp5585_pwm_chip_info = {
 	.pwm_cfg = ADP5585_PWM_CFG,
 	.pwm_offt_low = ADP5585_PWM_OFFT_LOW,
 	.pwm_ont_low = ADP5585_PWM_ONT_LOW,
 };
 
-static const struct adp5585_pwm_chip adp5585_pwm_chip_info = {
+static const struct adp5585_pwm_chip adp5589_pwm_chip_info = {
 	.pwm_cfg = ADP5589_PWM_CFG,
 	.pwm_offt_low = ADP5589_PWM_OFFT_LOW,
 	.pwm_ont_low = ADP5589_PWM_ONT_LOW,
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-11-18  5:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-14  6:53 [PATCH] pwm: adp5585: correct mismatched pwm chip info ziniu.wang_1
2025-11-14  7:58 ` Liu Ying
2025-11-14  8:50 ` Nuno Sá
2025-11-14  9:30 ` Uwe Kleine-König
2025-11-14  9:46   ` Nuno Sá
2025-11-14 11:03     ` Uwe Kleine-König
2025-11-18  5:17     ` Liu Ying

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox