Skip to contentSkip to conversation

dvb:tc90522: bugfix of always-false expression

PATCH Superseded [email protected] 3 participants 6 messages Oct 26, 2014 – Nov 3, 2014

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 1/1 dvb:tc90522: bugfix of always-false expression

From: Akihiro Tsukada <[email protected]>

Reported by David Binderman

---
 drivers/media/dvb-frontends/tc90522.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/dvb-frontends/tc90522.c +1 -1
index d9905fb..bca81ef 100644
@@ -363,7 +363,7 @@ static int tc90522t_get_frontend(struct dvb_frontend *fe)
 		u8 v;
 
 		c->isdbt_partial_reception = val[0] & 0x01;
-		c->isdbt_sb_mode = (val[0] & 0xc0) == 0x01;
+		c->isdbt_sb_mode = (val[0] & 0xc0) == 0x40;
 
 		/* layer A */
 		v = (val[2] & 0x78) >> 3;
Signature · 1 line
2.1.2
#1 lore raw
Quoted 3 lines · On 10/26/2014 02:05 PM, [email protected] wrote:

From: Akihiro Tsukada <[email protected]>

Reported by David Binderman

^^ See Documentation/SubmittingPatches

Antti

Quoted 18 lines
---
  drivers/media/dvb-frontends/tc90522.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/dvb-frontends/tc90522.c +1 -1
index d9905fb..bca81ef 100644
@@ -363,7 +363,7 @@ static int tc90522t_get_frontend(struct dvb_frontend *fe)
  		u8 v;
 
  		c->isdbt_partial_reception = val[0] & 0x01;
-		c->isdbt_sb_mode = (val[0] & 0xc0) == 0x01;
+		c->isdbt_sb_mode = (val[0] & 0xc0) == 0x40;
 
  		/* layer A */
  		v = (val[2] & 0x78) >> 3;
Signature · 1 line
http://palosaari.fi/
author maintainer
#2 lore raw
Quoted 3 lines
Quoted 1 line

Reported by David Binderman

^^ See Documentation/SubmittingPatches

Though I knew that Reported-by: tag should not be used, I wrote it just to express my appreciation for his report, and did not mean to attach the tag.
But I admit that it is confusing,
so I'd like to beg Mauro to do me the kindness
to delete the line when this patch is committed. (or I'll re-send the patch if it is necessary.)

regards,
akihiro

#3 lore raw
Quoted 11 lines · Akihiro TSUKADA
Quoted 3 lines
Quoted 1 line

Reported by David Binderman

^^ See Documentation/SubmittingPatches

Though I knew that Reported-by: tag should not be used, I wrote it just to express my appreciation for his report, and did not mean to attach the tag.
But I admit that it is confusing,
so I'd like to beg Mauro to do me the kindness
to delete the line when this patch is committed. (or I'll re-send the patch if it is necessary.)

Main reason I picked it up, was that tag was formally bad.

regards
Antti

Signature · 1 line
http://palosaari.fi/
#4 lore raw

Em Sun, 26 Oct 2014 18:27:28 +0200
Antti Palosaari <[email protected]> escreveu:

Quoted 15 lines · Akihiro TSUKADA
Quoted 11 lines
Quoted 3 lines
Quoted 1 line

Reported by David Binderman

^^ See Documentation/SubmittingPatches

Though I knew that Reported-by: tag should not be used, I wrote it just to express my appreciation for his report, and did not mean to attach the tag.
But I admit that it is confusing,
so I'd like to beg Mauro to do me the kindness
to delete the line when this patch is committed. (or I'll re-send the patch if it is necessary.)

Quoted 1 line

Main reason I picked it up, was that tag was formally bad.

Yeah, the tag should be Reported-by: and should have the email of the person who reported the issue.

But that's not the only thing you forgot... there's no SOB on this patch ;)

Please resend.

Regards,
Mauro