* [PATCH RFT] pwm: stmpe: Fix wrong register offset for hwpwm=2 case
@ 2017-11-07 5:18 Axel Lin
2017-11-09 8:45 ` Linus Walleij
2017-12-05 8:33 ` Thierry Reding
0 siblings, 2 replies; 5+ messages in thread
From: Axel Lin @ 2017-11-07 5:18 UTC (permalink / raw)
To: linux-pwm; +Cc: Thierry Reding, Linus Walleij, Axel Lin
Fix trivial copy/paste bug.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
Hi Linus,
I don't have this h/w to test.
Appreciate if you can review and test this patch.
Thanks,
Axel
drivers/pwm/pwm-stmpe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/pwm-stmpe.c b/drivers/pwm/pwm-stmpe.c
index e464582a390a..3439f1e902cb 100644
--- a/drivers/pwm/pwm-stmpe.c
+++ b/drivers/pwm/pwm-stmpe.c
@@ -145,7 +145,7 @@ static int stmpe_24xx_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm,
break;
case 2:
- offset = STMPE24XX_PWMIC1;
+ offset = STMPE24XX_PWMIC2;
break;
default:
--
2.11.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH RFT] pwm: stmpe: Fix wrong register offset for hwpwm=2 case
2017-11-07 5:18 [PATCH RFT] pwm: stmpe: Fix wrong register offset for hwpwm=2 case Axel Lin
@ 2017-11-09 8:45 ` Linus Walleij
2017-11-24 9:10 ` Axel Lin
2017-12-05 8:33 ` Thierry Reding
1 sibling, 1 reply; 5+ messages in thread
From: Linus Walleij @ 2017-11-09 8:45 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-pwm@vger.kernel.org, Thierry Reding
On Tue, Nov 7, 2017 at 6:18 AM, Axel Lin <axel.lin@ingics.com> wrote:
> Fix trivial copy/paste bug.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> Hi Linus,
> I don't have this h/w to test.
> Appreciate if you can review and test this patch.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
This is an obvious copy/paste bug indeed.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH RFT] pwm: stmpe: Fix wrong register offset for hwpwm=2 case
2017-11-09 8:45 ` Linus Walleij
@ 2017-11-24 9:10 ` Axel Lin
2017-11-24 10:42 ` Thierry Reding
0 siblings, 1 reply; 5+ messages in thread
From: Axel Lin @ 2017-11-24 9:10 UTC (permalink / raw)
To: Linus Walleij; +Cc: linux-pwm@vger.kernel.org, Thierry Reding
2017-11-09 16:45 GMT+08:00 Linus Walleij <linus.walleij@linaro.org>:
> On Tue, Nov 7, 2017 at 6:18 AM, Axel Lin <axel.lin@ingics.com> wrote:
>
>> Fix trivial copy/paste bug.
>>
>> Signed-off-by: Axel Lin <axel.lin@ingics.com>
>> ---
>> Hi Linus,
>> I don't have this h/w to test.
>> Appreciate if you can review and test this patch.
>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Hi Thierry,
Seems this one is still not apply. Should I resend?
Thanks,
Axel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH RFT] pwm: stmpe: Fix wrong register offset for hwpwm=2 case
2017-11-24 9:10 ` Axel Lin
@ 2017-11-24 10:42 ` Thierry Reding
0 siblings, 0 replies; 5+ messages in thread
From: Thierry Reding @ 2017-11-24 10:42 UTC (permalink / raw)
To: Axel Lin; +Cc: Linus Walleij, linux-pwm@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]
On Fri, Nov 24, 2017 at 05:10:14PM +0800, Axel Lin wrote:
> 2017-11-09 16:45 GMT+08:00 Linus Walleij <linus.walleij@linaro.org>:
> > On Tue, Nov 7, 2017 at 6:18 AM, Axel Lin <axel.lin@ingics.com> wrote:
> >
> >> Fix trivial copy/paste bug.
> >>
> >> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> >> ---
> >> Hi Linus,
> >> I don't have this h/w to test.
> >> Appreciate if you can review and test this patch.
> >
> > Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
>
> Hi Thierry,
> Seems this one is still not apply. Should I resend?
No need to resend, I can see it in patchwork. I'm not exactly sure what
happened, but it looks like this may have just missed the cut-off point
for v4.15-rc1. Is this a serious bug? Do you want it to go into v4.15?
By the looks of it this has been wrong since forever (no changes since
the original patch adding the driver), so I'm wondering if anybody has
ever used this third PWM at all.
I'm fine either way. If this is something that's creating problems, let
me know and I'll queue it for v4.15-rc2. If so, you may want it to be
backported to stable kernel, in which case:
Fixes: ef1f09eca74a ("pwm: Add a driver for the STMPE PWM")
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH RFT] pwm: stmpe: Fix wrong register offset for hwpwm=2 case
2017-11-07 5:18 [PATCH RFT] pwm: stmpe: Fix wrong register offset for hwpwm=2 case Axel Lin
2017-11-09 8:45 ` Linus Walleij
@ 2017-12-05 8:33 ` Thierry Reding
1 sibling, 0 replies; 5+ messages in thread
From: Thierry Reding @ 2017-12-05 8:33 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-pwm, Linus Walleij
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
On Tue, Nov 07, 2017 at 01:18:53PM +0800, Axel Lin wrote:
> Fix trivial copy/paste bug.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> Hi Linus,
> I don't have this h/w to test.
> Appreciate if you can review and test this patch.
>
> Thanks,
> Axel
> drivers/pwm/pwm-stmpe.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied this and added:
Fixes: ef1f09eca74a ("pwm: Add a driver for the STMPE PWM")
Thanks,
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-12-05 8:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-07 5:18 [PATCH RFT] pwm: stmpe: Fix wrong register offset for hwpwm=2 case Axel Lin
2017-11-09 8:45 ` Linus Walleij
2017-11-24 9:10 ` Axel Lin
2017-11-24 10:42 ` Thierry Reding
2017-12-05 8:33 ` Thierry Reding
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).