Skip to contentSkip to conversation

dvb-frontends: decimal vs hex typo in ChannelConfiguration()

PATCH New Dan Carpenter 1 participant 1 message Feb 6, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dvb-frontends: decimal vs hex typo in ChannelConfiguration()

From the context this should be hex 0x80 instead of decimal 80.

---
Untested.

drivers/media/dvb-frontends/tda18271c2dd.c +1 -1
index 2c54586ac07f..de0a1c110972 100644
@@ -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)