Commit 0e301442 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] mt2063: CodingStyle fixes

convert to Unix eol, run Lindent and remove bad whitespaces
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 223c7b05
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
static unsigned int mt2063_setTune(struct dvb_frontend *fe, UData_t f_in,UData_t bw_in, enum MTTune_atv_standard tv_type)
static unsigned int mt2063_setTune(struct dvb_frontend *fe, UData_t f_in,
UData_t bw_in,
enum MTTune_atv_standard tv_type)
{
//return (int)MT_Tune_atv(h, f_in, bw_in, tv_type);
......@@ -18,7 +19,9 @@ static unsigned int mt2063_setTune(struct dvb_frontend *fe, UData_t f_in,UData_t
if (&frontend_ops->tuner_ops)
tuner_ops = &frontend_ops->tuner_ops;
if (tuner_ops->set_state) {
if ((err = tuner_ops->set_state(fe, DVBFE_TUNER_FREQUENCY, &t_state)) < 0) {
if ((err =
tuner_ops->set_state(fe, DVBFE_TUNER_FREQUENCY,
&t_state)) < 0) {
printk("%s: Invalid parameter\n", __func__);
return err;
}
......@@ -39,7 +42,9 @@ static unsigned int mt2063_lockStatus(struct dvb_frontend *fe)
if (&frontend_ops->tuner_ops)
tuner_ops = &frontend_ops->tuner_ops;
if (tuner_ops->get_state) {
if ((err = tuner_ops->get_state(fe, DVBFE_TUNER_REFCLOCK, &t_state)) < 0) {
if ((err =
tuner_ops->get_state(fe, DVBFE_TUNER_REFCLOCK,
&t_state)) < 0) {
printk("%s: Invalid parameter\n", __func__);
return err;
}
......@@ -59,7 +64,9 @@ static unsigned int tuner_MT2063_Open(struct dvb_frontend *fe)
if (&frontend_ops->tuner_ops)
tuner_ops = &frontend_ops->tuner_ops;
if (tuner_ops->set_state) {
if ((err = tuner_ops->set_state(fe, DVBFE_TUNER_OPEN, &t_state)) < 0) {
if ((err =
tuner_ops->set_state(fe, DVBFE_TUNER_OPEN,
&t_state)) < 0) {
printk("%s: Invalid parameter\n", __func__);
return err;
}
......@@ -80,7 +87,9 @@ static unsigned int tuner_MT2063_SoftwareShutdown(struct dvb_frontend *fe)
if (&frontend_ops->tuner_ops)
tuner_ops = &frontend_ops->tuner_ops;
if (tuner_ops->set_state) {
if ((err = tuner_ops->set_state(fe, DVBFE_TUNER_SOFTWARE_SHUTDOWN, &t_state)) < 0) {
if ((err =
tuner_ops->set_state(fe, DVBFE_TUNER_SOFTWARE_SHUTDOWN,
&t_state)) < 0) {
printk("%s: Invalid parameter\n", __func__);
return err;
}
......@@ -101,7 +110,9 @@ static unsigned int tuner_MT2063_ClearPowerMaskBits(struct dvb_frontend *fe)
if (&frontend_ops->tuner_ops)
tuner_ops = &frontend_ops->tuner_ops;
if (tuner_ops->set_state) {
if ((err = tuner_ops->set_state(fe, DVBFE_TUNER_CLEAR_POWER_MASKBITS, &t_state)) < 0) {
if ((err =
tuner_ops->set_state(fe, DVBFE_TUNER_CLEAR_POWER_MASKBITS,
&t_state)) < 0) {
printk("%s: Invalid parameter\n", __func__);
return err;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment