ixj: Fix test in ixj_selfprobe()
PATCH 1/1 ixj: Fix test in ixj_selfprobe()
Not makes it a bool before the comparison.
Signed-off-by Roel Kluin <[email protected]>
---
Was below intended?
drivers/telephony/ixj.c +1 -1
@@ -6831,7 +6831,7 @@ static int ixj_selfprobe(IXJ *j) }else {switch (j->cardtype) {case QTI_PHONEJACK : -if (!j->dsp.low !=0x20 ) { +if (j->dsp.low !=0x20 ) { j->dsp.high =0x80 ; j->dsp.low =0x20 ;ixj_WriteDSPCommand (0x3800 , j);
Quoted 11 lines · On Tue, 06 Oct 2009 17:47:16 +0200 Roel Kluin <[email protected]> wrote:
Not makes it a bool before the comparison.
Signed-off-by Roel Kluin <[email protected]>---
Was below intended?drivers/telephony/ixj.c +0
-0
drivers/telephony/ixj.c static int ixj_selfprobe(IXJ *j) · line 6837
Quoted 8 lines
drivers/telephony/ixj.c +1
-1@@ -6831,7 +6831,7 @@ static int ixj_selfprobe(IXJ *j) }else {switch (j->cardtype) {case QTI_PHONEJACK : -if (!j->dsp.low !=0x20 ) { +if (j->dsp.low !=0x20 ) { j->dsp.high =0x80 ; j->dsp.low =0x20 ;ixj_WriteDSPCommand (0x3800 , j);
gee, I can't tell. Presumably it'd be safer to just delete the test - it's a no-op at present and that code is well-tested, lol.