mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
media: s5h14*.h: fix typos for CONTINUOUS
There is a typo at the several s5h14*.h headers: continuous were spelled incorrectly. Fix it with this script: for i in $(git grep -l S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK); do sed s,S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,g -i $i done for i in $(git grep -l -i continous drivers/media); do sed s,CONTINOUS,CONTINUOUS,g -i $i; done Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
ad32495b15
commit
ad05ff091f
@ -682,17 +682,17 @@ static int s5h1409_set_mpeg_timing(struct dvb_frontend *fe, int mode)
|
||||
|
||||
val = s5h1409_readreg(state, 0xac) & 0xcfff;
|
||||
switch (mode) {
|
||||
case S5H1409_MPEGTIMING_CONTINOUS_INVERTING_CLOCK:
|
||||
case S5H1409_MPEGTIMING_CONTINUOUS_INVERTING_CLOCK:
|
||||
val |= 0x0000;
|
||||
break;
|
||||
case S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK:
|
||||
case S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK:
|
||||
dprintk("%s(%d) Mode1 or Defaulting\n", __func__, mode);
|
||||
val |= 0x1000;
|
||||
break;
|
||||
case S5H1409_MPEGTIMING_NONCONTINOUS_INVERTING_CLOCK:
|
||||
case S5H1409_MPEGTIMING_NONCONTINUOUS_INVERTING_CLOCK:
|
||||
val |= 0x2000;
|
||||
break;
|
||||
case S5H1409_MPEGTIMING_NONCONTINOUS_NONINVERTING_CLOCK:
|
||||
case S5H1409_MPEGTIMING_NONCONTINUOUS_NONINVERTING_CLOCK:
|
||||
val |= 0x3000;
|
||||
break;
|
||||
default:
|
||||
|
@ -52,10 +52,10 @@ struct s5h1409_config {
|
||||
u8 status_mode;
|
||||
|
||||
/* MPEG signal timing */
|
||||
#define S5H1409_MPEGTIMING_CONTINOUS_INVERTING_CLOCK 0
|
||||
#define S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK 1
|
||||
#define S5H1409_MPEGTIMING_NONCONTINOUS_INVERTING_CLOCK 2
|
||||
#define S5H1409_MPEGTIMING_NONCONTINOUS_NONINVERTING_CLOCK 3
|
||||
#define S5H1409_MPEGTIMING_CONTINUOUS_INVERTING_CLOCK 0
|
||||
#define S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK 1
|
||||
#define S5H1409_MPEGTIMING_NONCONTINUOUS_INVERTING_CLOCK 2
|
||||
#define S5H1409_MPEGTIMING_NONCONTINUOUS_NONINVERTING_CLOCK 3
|
||||
u16 mpeg_timing;
|
||||
|
||||
/* HVR-1600 optimizations (to better work with MXL5005s)
|
||||
|
@ -433,17 +433,17 @@ static int s5h1411_set_mpeg_timing(struct dvb_frontend *fe, int mode)
|
||||
|
||||
val = s5h1411_readreg(state, S5H1411_I2C_TOP_ADDR, 0xbe) & 0xcfff;
|
||||
switch (mode) {
|
||||
case S5H1411_MPEGTIMING_CONTINOUS_INVERTING_CLOCK:
|
||||
case S5H1411_MPEGTIMING_CONTINUOUS_INVERTING_CLOCK:
|
||||
val |= 0x0000;
|
||||
break;
|
||||
case S5H1411_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK:
|
||||
case S5H1411_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK:
|
||||
dprintk("%s(%d) Mode1 or Defaulting\n", __func__, mode);
|
||||
val |= 0x1000;
|
||||
break;
|
||||
case S5H1411_MPEGTIMING_NONCONTINOUS_INVERTING_CLOCK:
|
||||
case S5H1411_MPEGTIMING_NONCONTINUOUS_INVERTING_CLOCK:
|
||||
val |= 0x2000;
|
||||
break;
|
||||
case S5H1411_MPEGTIMING_NONCONTINOUS_NONINVERTING_CLOCK:
|
||||
case S5H1411_MPEGTIMING_NONCONTINUOUS_NONINVERTING_CLOCK:
|
||||
val |= 0x3000;
|
||||
break;
|
||||
default:
|
||||
|
@ -40,10 +40,10 @@ struct s5h1411_config {
|
||||
u8 gpio;
|
||||
|
||||
/* MPEG signal timing */
|
||||
#define S5H1411_MPEGTIMING_CONTINOUS_INVERTING_CLOCK 0
|
||||
#define S5H1411_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK 1
|
||||
#define S5H1411_MPEGTIMING_NONCONTINOUS_INVERTING_CLOCK 2
|
||||
#define S5H1411_MPEGTIMING_NONCONTINOUS_NONINVERTING_CLOCK 3
|
||||
#define S5H1411_MPEGTIMING_CONTINUOUS_INVERTING_CLOCK 0
|
||||
#define S5H1411_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK 1
|
||||
#define S5H1411_MPEGTIMING_NONCONTINUOUS_INVERTING_CLOCK 2
|
||||
#define S5H1411_MPEGTIMING_NONCONTINUOUS_NONINVERTING_CLOCK 3
|
||||
u16 mpeg_timing;
|
||||
|
||||
/* IF Freq for QAM and VSB in KHz */
|
||||
|
@ -42,10 +42,10 @@ struct s5h1432_config {
|
||||
u8 gpio;
|
||||
|
||||
/* MPEG signal timing */
|
||||
#define S5H1432_MPEGTIMING_CONTINOUS_INVERTING_CLOCK 0
|
||||
#define S5H1432_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK 1
|
||||
#define S5H1432_MPEGTIMING_NONCONTINOUS_INVERTING_CLOCK 2
|
||||
#define S5H1432_MPEGTIMING_NONCONTINOUS_NONINVERTING_CLOCK 3
|
||||
#define S5H1432_MPEGTIMING_CONTINUOUS_INVERTING_CLOCK 0
|
||||
#define S5H1432_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK 1
|
||||
#define S5H1432_MPEGTIMING_NONCONTINUOUS_INVERTING_CLOCK 2
|
||||
#define S5H1432_MPEGTIMING_NONCONTINUOUS_NONINVERTING_CLOCK 3
|
||||
u16 mpeg_timing;
|
||||
|
||||
/* IF Freq for QAM and VSB in KHz */
|
||||
|
@ -72,7 +72,7 @@ static struct s5h1409_config hauppauge_hvr1600_config = {
|
||||
.qam_if = 44000,
|
||||
.inversion = S5H1409_INVERSION_OFF,
|
||||
.status_mode = S5H1409_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
.hvr1600_opt = S5H1409_HVR1600_OPTIMIZE
|
||||
};
|
||||
|
||||
@ -86,7 +86,7 @@ static struct s5h1411_config hcw_s5h1411_config = {
|
||||
.qam_if = S5H1411_IF_4000,
|
||||
.inversion = S5H1411_INVERSION_ON,
|
||||
.status_mode = S5H1411_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct tda18271_std_map hauppauge_tda18271_std_map = {
|
||||
|
@ -193,7 +193,7 @@ static struct s5h1409_config hauppauge_generic_config = {
|
||||
.qam_if = 44000,
|
||||
.inversion = S5H1409_INVERSION_OFF,
|
||||
.status_mode = S5H1409_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct tda10048_config hauppauge_hvr1200_config = {
|
||||
@ -225,7 +225,7 @@ static struct s5h1409_config hauppauge_ezqam_config = {
|
||||
.qam_if = 4000,
|
||||
.inversion = S5H1409_INVERSION_ON,
|
||||
.status_mode = S5H1409_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct s5h1409_config hauppauge_hvr1800lp_config = {
|
||||
@ -235,7 +235,7 @@ static struct s5h1409_config hauppauge_hvr1800lp_config = {
|
||||
.qam_if = 44000,
|
||||
.inversion = S5H1409_INVERSION_OFF,
|
||||
.status_mode = S5H1409_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct s5h1409_config hauppauge_hvr1500_config = {
|
||||
@ -244,7 +244,7 @@ static struct s5h1409_config hauppauge_hvr1500_config = {
|
||||
.gpio = S5H1409_GPIO_OFF,
|
||||
.inversion = S5H1409_INVERSION_OFF,
|
||||
.status_mode = S5H1409_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct mt2131_config hauppauge_generic_tunerconfig = {
|
||||
@ -264,7 +264,7 @@ static struct s5h1409_config hauppauge_hvr1500q_config = {
|
||||
.qam_if = 44000,
|
||||
.inversion = S5H1409_INVERSION_OFF,
|
||||
.status_mode = S5H1409_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct s5h1409_config dvico_s5h1409_config = {
|
||||
@ -274,7 +274,7 @@ static struct s5h1409_config dvico_s5h1409_config = {
|
||||
.qam_if = 44000,
|
||||
.inversion = S5H1409_INVERSION_OFF,
|
||||
.status_mode = S5H1409_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct s5h1411_config dvico_s5h1411_config = {
|
||||
@ -284,7 +284,7 @@ static struct s5h1411_config dvico_s5h1411_config = {
|
||||
.vsb_if = S5H1411_IF_44000,
|
||||
.inversion = S5H1411_INVERSION_OFF,
|
||||
.status_mode = S5H1411_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct s5h1411_config hcw_s5h1411_config = {
|
||||
@ -294,7 +294,7 @@ static struct s5h1411_config hcw_s5h1411_config = {
|
||||
.qam_if = S5H1411_IF_4000,
|
||||
.inversion = S5H1411_INVERSION_ON,
|
||||
.status_mode = S5H1411_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct xc5000_config hauppauge_hvr1500q_tunerconfig = {
|
||||
|
@ -558,7 +558,7 @@ static const struct s5h1409_config pinnacle_pctv_hd_800i_config = {
|
||||
.qam_if = 44000,
|
||||
.inversion = S5H1409_INVERSION_OFF,
|
||||
.status_mode = S5H1409_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_NONCONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_NONCONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static const struct s5h1409_config dvico_hdtv5_pci_nano_config = {
|
||||
@ -567,7 +567,7 @@ static const struct s5h1409_config dvico_hdtv5_pci_nano_config = {
|
||||
.gpio = S5H1409_GPIO_OFF,
|
||||
.inversion = S5H1409_INVERSION_OFF,
|
||||
.status_mode = S5H1409_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static const struct s5h1409_config kworld_atsc_120_config = {
|
||||
@ -576,7 +576,7 @@ static const struct s5h1409_config kworld_atsc_120_config = {
|
||||
.gpio = S5H1409_GPIO_OFF,
|
||||
.inversion = S5H1409_INVERSION_OFF,
|
||||
.status_mode = S5H1409_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static const struct xc5000_config pinnacle_pctv_hd_800i_tuner_config = {
|
||||
@ -599,7 +599,7 @@ static const struct zl10353_config cx88_geniatech_x8000_mt = {
|
||||
static const struct s5h1411_config dvico_fusionhdtv7_config = {
|
||||
.output_mode = S5H1411_SERIAL_OUTPUT,
|
||||
.gpio = S5H1411_GPIO_ON,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
.qam_if = S5H1411_IF_44000,
|
||||
.vsb_if = S5H1411_IF_44000,
|
||||
.inversion = S5H1411_INVERSION_OFF,
|
||||
|
@ -1195,7 +1195,7 @@ static struct s5h1411_config kworld_s5h1411_config = {
|
||||
.inversion = S5H1411_INVERSION_ON,
|
||||
.status_mode = S5H1411_DEMODLOCKING,
|
||||
.mpeg_timing =
|
||||
S5H1411_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
S5H1411_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
|
||||
|
@ -78,7 +78,7 @@ static struct s5h1411_config hauppauge_s5h1411_config = {
|
||||
.vsb_if = S5H1411_IF_3250,
|
||||
.inversion = S5H1411_INVERSION_ON,
|
||||
.status_mode = S5H1411_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct lgdt3306a_config hauppauge_hvr2255a_config = {
|
||||
|
@ -79,7 +79,7 @@ static struct s5h1432_config dvico_s5h1432_config = {
|
||||
.vsb_if = S5H1432_IF_4000,
|
||||
.inversion = S5H1432_INVERSION_OFF,
|
||||
.status_mode = S5H1432_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1432_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1432_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct tda18271_std_map cnxt_rde253s_tda18271_std_map = {
|
||||
@ -108,7 +108,7 @@ static struct s5h1411_config tda18271_s5h1411_config = {
|
||||
.qam_if = S5H1411_IF_4000,
|
||||
.inversion = S5H1411_INVERSION_ON,
|
||||
.status_mode = S5H1411_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
static struct s5h1411_config xc5000_s5h1411_config = {
|
||||
.output_mode = S5H1411_SERIAL_OUTPUT,
|
||||
@ -117,7 +117,7 @@ static struct s5h1411_config xc5000_s5h1411_config = {
|
||||
.qam_if = S5H1411_IF_3250,
|
||||
.inversion = S5H1411_INVERSION_OFF,
|
||||
.status_mode = S5H1411_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK,
|
||||
};
|
||||
|
||||
static struct lgdt3305_config hcw_lgdt3305_config = {
|
||||
|
@ -3412,7 +3412,7 @@ static int novatd_frontend_attach(struct dvb_usb_adapter *adap)
|
||||
static struct s5h1411_config pinnacle_801e_config = {
|
||||
.output_mode = S5H1411_PARALLEL_OUTPUT,
|
||||
.gpio = S5H1411_GPIO_OFF,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_NONCONTINOUS_NONINVERTING_CLOCK,
|
||||
.mpeg_timing = S5H1411_MPEGTIMING_NONCONTINUOUS_NONINVERTING_CLOCK,
|
||||
.qam_if = S5H1411_IF_44000,
|
||||
.vsb_if = S5H1411_IF_44000,
|
||||
.inversion = S5H1411_INVERSION_OFF,
|
||||
|
@ -356,7 +356,7 @@ static struct s5h1409_config em28xx_s5h1409_with_xc3028 = {
|
||||
.gpio = S5H1409_GPIO_OFF,
|
||||
.inversion = S5H1409_INVERSION_OFF,
|
||||
.status_mode = S5H1409_DEMODLOCKING,
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINOUS_NONINVERTING_CLOCK
|
||||
.mpeg_timing = S5H1409_MPEGTIMING_CONTINUOUS_NONINVERTING_CLOCK
|
||||
};
|
||||
|
||||
static struct tda18271_std_map kworld_a340_std_map = {
|
||||
|
Loading…
Reference in New Issue
Block a user