Message ID | 20241220104939.503547-2-laurentiu.palcu@oss.nxp.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | staging: media: max96712: a few, mainly cosmetic, changes | expand |
Hi Laurentiu, On 2024-12-20 12:49:36 +0200, Laurentiu Palcu wrote: > Fix a typo in VS_LOW expression. > > Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com> > Reviewed-by: Niklas S??derlund <niklas.soderlund+renesas@ragnatech.se> I think your mail setup mangled my döts ;-) The Content-Type header for this mail is set to 'text/plain; charset="us-ascii"' while the patch is likely utf-8 encoded. Same in patch 3/3. > --- > drivers/staging/media/max96712/max96712.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/media/max96712/max96712.c b/drivers/staging/media/max96712/max96712.c > index 0751b2e048958..5228f9ec60859 100644 > --- a/drivers/staging/media/max96712/max96712.c > +++ b/drivers/staging/media/max96712/max96712.c > @@ -182,7 +182,7 @@ static void max96712_pattern_enable(struct max96712_priv *priv, bool enable) > max96712_write_bulk_value(priv, 0x1052, 0, 3); > max96712_write_bulk_value(priv, 0x1055, v_sw * h_tot, 3); > max96712_write_bulk_value(priv, 0x1058, > - (v_active + v_fp + + v_bp) * h_tot, 3); > + (v_active + v_fp + v_bp) * h_tot, 3); > max96712_write_bulk_value(priv, 0x105b, 0, 3); > max96712_write_bulk_value(priv, 0x105e, h_sw, 2); > max96712_write_bulk_value(priv, 0x1060, h_active + h_fp + h_bp, 2); > -- > 2.34.1 >
Hi Niklas, On Fri, Dec 20, 2024 at 11:59:34AM +0100, Niklas Söderlund wrote: > Hi Laurentiu, > > On 2024-12-20 12:49:36 +0200, Laurentiu Palcu wrote: > > Fix a typo in VS_LOW expression. > > > > Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com> > > Reviewed-by: Niklas S??derlund <niklas.soderlund+renesas@ragnatech.se> > > I think your mail setup mangled my döts ;-) The Content-Type header for > this mail is set to 'text/plain; charset="us-ascii"' while the patch is > likely utf-8 encoded. Same in patch 3/3. Sorry about that. I didn't mean to mess-up your name... :/ Apparently, this how 'git format-patch' generated the patch header: === From 19c513feb2003dff89c28ef9e54c0e06929efb0a Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com> Date: Thu, 19 Dec 2024 09:28:54 +0000 Subject: [PATCH v2 1/3] staging: media: max96712: fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="us-ascii" === It looks like it generated 2 Content-Type lines. And the last one took precedence... Looks like a git bug?!? I'm no expert in this area though. Thanks, Laurentiu > > > --- > > drivers/staging/media/max96712/max96712.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/staging/media/max96712/max96712.c b/drivers/staging/media/max96712/max96712.c > > index 0751b2e048958..5228f9ec60859 100644 > > --- a/drivers/staging/media/max96712/max96712.c > > +++ b/drivers/staging/media/max96712/max96712.c > > @@ -182,7 +182,7 @@ static void max96712_pattern_enable(struct max96712_priv *priv, bool enable) > > max96712_write_bulk_value(priv, 0x1052, 0, 3); > > max96712_write_bulk_value(priv, 0x1055, v_sw * h_tot, 3); > > max96712_write_bulk_value(priv, 0x1058, > > - (v_active + v_fp + + v_bp) * h_tot, 3); > > + (v_active + v_fp + v_bp) * h_tot, 3); > > max96712_write_bulk_value(priv, 0x105b, 0, 3); > > max96712_write_bulk_value(priv, 0x105e, h_sw, 2); > > max96712_write_bulk_value(priv, 0x1060, h_active + h_fp + h_bp, 2); > > -- > > 2.34.1 > > > > -- > Kind Regards, > Niklas Söderlund
ok, I figured it out... I had 'format' set in my ~/.gitconfig to us-ascii. :/ My bad after all. :) Thanks for the heads-up. Do you think it's worth sending this patch-set again to fix that? I suppose it could also be fixed before pushing... Thanks, Laurentiu On Fri, Dec 20, 2024 at 01:09:59PM +0200, Laurentiu Palcu wrote: > Hi Niklas, > > On Fri, Dec 20, 2024 at 11:59:34AM +0100, Niklas Söderlund wrote: > > Hi Laurentiu, > > > > On 2024-12-20 12:49:36 +0200, Laurentiu Palcu wrote: > > > Fix a typo in VS_LOW expression. > > > > > > Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com> > > > Reviewed-by: Niklas S??derlund <niklas.soderlund+renesas@ragnatech.se> > > > > I think your mail setup mangled my döts ;-) The Content-Type header for > > this mail is set to 'text/plain; charset="us-ascii"' while the patch is > > likely utf-8 encoded. Same in patch 3/3. > > Sorry about that. I didn't mean to mess-up your name... :/ Apparently, > this how 'git format-patch' generated the patch header: > > === > From 19c513feb2003dff89c28ef9e54c0e06929efb0a Mon Sep 17 00:00:00 2001 > From: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com> > Date: Thu, 19 Dec 2024 09:28:54 +0000 > Subject: [PATCH v2 1/3] staging: media: max96712: fix typo > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > Content-Type: text/plain; charset="us-ascii" > === > > It looks like it generated 2 Content-Type lines. And the last one > took precedence... > > Looks like a git bug?!? I'm no expert in this area though. > > Thanks, > Laurentiu > > > > > > --- > > > drivers/staging/media/max96712/max96712.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/drivers/staging/media/max96712/max96712.c b/drivers/staging/media/max96712/max96712.c > > > index 0751b2e048958..5228f9ec60859 100644 > > > --- a/drivers/staging/media/max96712/max96712.c > > > +++ b/drivers/staging/media/max96712/max96712.c > > > @@ -182,7 +182,7 @@ static void max96712_pattern_enable(struct max96712_priv *priv, bool enable) > > > max96712_write_bulk_value(priv, 0x1052, 0, 3); > > > max96712_write_bulk_value(priv, 0x1055, v_sw * h_tot, 3); > > > max96712_write_bulk_value(priv, 0x1058, > > > - (v_active + v_fp + + v_bp) * h_tot, 3); > > > + (v_active + v_fp + v_bp) * h_tot, 3); > > > max96712_write_bulk_value(priv, 0x105b, 0, 3); > > > max96712_write_bulk_value(priv, 0x105e, h_sw, 2); > > > max96712_write_bulk_value(priv, 0x1060, h_active + h_fp + h_bp, 2); > > > -- > > > 2.34.1 > > > > > > > -- > > Kind Regards, > > Niklas Söderlund
On 2024-12-20 13:23:37 +0200, Laurentiu Palcu wrote: > ok, I figured it out... I had 'format' set in my ~/.gitconfig to > us-ascii. :/ My bad after all. :) > > Thanks for the heads-up. No worries, thanks for figuring it out. > > Do you think it's worth sending this patch-set again to fix that? I > suppose it could also be fixed before pushing... I see no harm in resending, you could collect my R-b on 2/3 as well. > > Thanks, > Laurentiu > > On Fri, Dec 20, 2024 at 01:09:59PM +0200, Laurentiu Palcu wrote: > > Hi Niklas, > > > > On Fri, Dec 20, 2024 at 11:59:34AM +0100, Niklas Söderlund wrote: > > > Hi Laurentiu, > > > > > > On 2024-12-20 12:49:36 +0200, Laurentiu Palcu wrote: > > > > Fix a typo in VS_LOW expression. > > > > > > > > Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com> > > > > Reviewed-by: Niklas S??derlund <niklas.soderlund+renesas@ragnatech.se> > > > > > > I think your mail setup mangled my döts ;-) The Content-Type header for > > > this mail is set to 'text/plain; charset="us-ascii"' while the patch is > > > likely utf-8 encoded. Same in patch 3/3. > > > > Sorry about that. I didn't mean to mess-up your name... :/ Apparently, > > this how 'git format-patch' generated the patch header: > > > > === > > From 19c513feb2003dff89c28ef9e54c0e06929efb0a Mon Sep 17 00:00:00 2001 > > From: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com> > > Date: Thu, 19 Dec 2024 09:28:54 +0000 > > Subject: [PATCH v2 1/3] staging: media: max96712: fix typo > > MIME-Version: 1.0 > > Content-Type: text/plain; charset=UTF-8 > > Content-Transfer-Encoding: 8bit > > Content-Type: text/plain; charset="us-ascii" > > === > > > > It looks like it generated 2 Content-Type lines. And the last one > > took precedence... > > > > Looks like a git bug?!? I'm no expert in this area though. > > > > Thanks, > > Laurentiu > > > > > > > > > --- > > > > drivers/staging/media/max96712/max96712.c | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > > > diff --git a/drivers/staging/media/max96712/max96712.c b/drivers/staging/media/max96712/max96712.c > > > > index 0751b2e048958..5228f9ec60859 100644 > > > > --- a/drivers/staging/media/max96712/max96712.c > > > > +++ b/drivers/staging/media/max96712/max96712.c > > > > @@ -182,7 +182,7 @@ static void max96712_pattern_enable(struct max96712_priv *priv, bool enable) > > > > max96712_write_bulk_value(priv, 0x1052, 0, 3); > > > > max96712_write_bulk_value(priv, 0x1055, v_sw * h_tot, 3); > > > > max96712_write_bulk_value(priv, 0x1058, > > > > - (v_active + v_fp + + v_bp) * h_tot, 3); > > > > + (v_active + v_fp + v_bp) * h_tot, 3); > > > > max96712_write_bulk_value(priv, 0x105b, 0, 3); > > > > max96712_write_bulk_value(priv, 0x105e, h_sw, 2); > > > > max96712_write_bulk_value(priv, 0x1060, h_active + h_fp + h_bp, 2); > > > > -- > > > > 2.34.1 > > > > > > > > > > -- > > > Kind Regards, > > > Niklas Söderlund
diff --git a/drivers/staging/media/max96712/max96712.c b/drivers/staging/media/max96712/max96712.c index 0751b2e048958..5228f9ec60859 100644 --- a/drivers/staging/media/max96712/max96712.c +++ b/drivers/staging/media/max96712/max96712.c @@ -182,7 +182,7 @@ static void max96712_pattern_enable(struct max96712_priv *priv, bool enable) max96712_write_bulk_value(priv, 0x1052, 0, 3); max96712_write_bulk_value(priv, 0x1055, v_sw * h_tot, 3); max96712_write_bulk_value(priv, 0x1058, - (v_active + v_fp + + v_bp) * h_tot, 3); + (v_active + v_fp + v_bp) * h_tot, 3); max96712_write_bulk_value(priv, 0x105b, 0, 3); max96712_write_bulk_value(priv, 0x105e, h_sw, 2); max96712_write_bulk_value(priv, 0x1060, h_active + h_fp + h_bp, 2);