mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
[media] stv0288: fix indentation
drivers/media/dvb-frontends/stv0288.c:137 stv0288_set_symbolrate() warn: inconsistent indenting Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
16afc67216
commit
451dfbe9f1
@ -134,20 +134,20 @@ static int stv0288_set_symbolrate(struct dvb_frontend *fe, u32 srate)
|
||||
|
||||
temp = (unsigned int)srate / 1000;
|
||||
|
||||
temp = temp * 32768;
|
||||
temp = temp / 25;
|
||||
temp = temp / 125;
|
||||
b[0] = (unsigned char)((temp >> 12) & 0xff);
|
||||
b[1] = (unsigned char)((temp >> 4) & 0xff);
|
||||
b[2] = (unsigned char)((temp << 4) & 0xf0);
|
||||
stv0288_writeregI(state, 0x28, 0x80); /* SFRH */
|
||||
stv0288_writeregI(state, 0x29, 0); /* SFRM */
|
||||
stv0288_writeregI(state, 0x2a, 0); /* SFRL */
|
||||
temp = temp * 32768;
|
||||
temp = temp / 25;
|
||||
temp = temp / 125;
|
||||
b[0] = (unsigned char)((temp >> 12) & 0xff);
|
||||
b[1] = (unsigned char)((temp >> 4) & 0xff);
|
||||
b[2] = (unsigned char)((temp << 4) & 0xf0);
|
||||
stv0288_writeregI(state, 0x28, 0x80); /* SFRH */
|
||||
stv0288_writeregI(state, 0x29, 0); /* SFRM */
|
||||
stv0288_writeregI(state, 0x2a, 0); /* SFRL */
|
||||
|
||||
stv0288_writeregI(state, 0x28, b[0]);
|
||||
stv0288_writeregI(state, 0x29, b[1]);
|
||||
stv0288_writeregI(state, 0x2a, b[2]);
|
||||
dprintk("stv0288: stv0288_set_symbolrate\n");
|
||||
stv0288_writeregI(state, 0x28, b[0]);
|
||||
stv0288_writeregI(state, 0x29, b[1]);
|
||||
stv0288_writeregI(state, 0x2a, b[2]);
|
||||
dprintk("stv0288: stv0288_set_symbolrate\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user