[media] dvb-frontends: decimal vs hex typo in ChannelConfiguration()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 6 Feb 2014 07:49:47 +0000 (04:49 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 23 Jul 2014 00:00:54 +0000 (21:00 -0300)
>From the context this should be hex 0x80 instead of decimal 80.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/tda18271c2dd.c

index 2c54586ac07f05d70b9afb95f993e7810ce5abce..de0a1c1109723d794d707e13518e2c971d3a1825 100644 (file)
@@ -1030,7 +1030,7 @@ static int ChannelConfiguration(struct tda_state *state,
                        state->m_Regs[EP4] = state->m_EP4 | state->m_IFLevelDigital;
 
                if ((Standard == HF_FM_Radio) && state->m_bFMInput)
-                       state->m_Regs[EP4] |= 80;
+                       state->m_Regs[EP4] |= 0x80;
 
                state->m_Regs[MPD] &= ~0x80;
                if (Standard > HF_AnalogMax)