mirror of https://gitee.com/openkylin/linux.git
[media] dib0700: fix bad indentation
drivers/media/usb/dvb-usb/dib0700_devices.c:864 dib7770_set_param_override() warn: inconsistent indenting Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
3c2580f9ff
commit
316c46b8f3
|
@ -861,22 +861,22 @@ static int dib7770_set_param_override(struct dvb_frontend *fe)
|
|||
struct dvb_usb_adapter *adap = fe->dvb->priv;
|
||||
struct dib0700_adapter_state *state = adap->priv;
|
||||
|
||||
u16 offset;
|
||||
u8 band = BAND_OF_FREQUENCY(p->frequency/1000);
|
||||
switch (band) {
|
||||
case BAND_VHF:
|
||||
state->dib7000p_ops.set_gpio(fe, 0, 0, 1);
|
||||
offset = 850;
|
||||
break;
|
||||
case BAND_UHF:
|
||||
default:
|
||||
state->dib7000p_ops.set_gpio(fe, 0, 0, 0);
|
||||
offset = 250;
|
||||
break;
|
||||
}
|
||||
deb_info("WBD for DiB7000P: %d\n", offset + dib0070_wbd_offset(fe));
|
||||
state->dib7000p_ops.set_wbd_ref(fe, offset + dib0070_wbd_offset(fe));
|
||||
return state->set_param_save(fe);
|
||||
u16 offset;
|
||||
u8 band = BAND_OF_FREQUENCY(p->frequency/1000);
|
||||
switch (band) {
|
||||
case BAND_VHF:
|
||||
state->dib7000p_ops.set_gpio(fe, 0, 0, 1);
|
||||
offset = 850;
|
||||
break;
|
||||
case BAND_UHF:
|
||||
default:
|
||||
state->dib7000p_ops.set_gpio(fe, 0, 0, 0);
|
||||
offset = 250;
|
||||
break;
|
||||
}
|
||||
deb_info("WBD for DiB7000P: %d\n", offset + dib0070_wbd_offset(fe));
|
||||
state->dib7000p_ops.set_wbd_ref(fe, offset + dib0070_wbd_offset(fe));
|
||||
return state->set_param_save(fe);
|
||||
}
|
||||
|
||||
static int dib7770p_tuner_attach(struct dvb_usb_adapter *adap)
|
||||
|
|
Loading…
Reference in New Issue