diff options
author | Michael Krufky <devnull@localhost> | 2005-07-02 16:24:34 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-07-02 16:24:34 +0000 |
commit | 9d88c85e57cbaa469f9a3f5035d2224f68beb156 (patch) | |
tree | e63a36bd4dc1152274bb432ca29f3fcc876bc3c5 /linux | |
parent | a3a954f470bc6f2ce8de3296cae025627f5b0c6a (diff) | |
download | mediapointer-dvb-s2-9d88c85e57cbaa469f9a3f5035d2224f68beb156.tar.gz mediapointer-dvb-s2-9d88c85e57cbaa469f9a3f5035d2224f68beb156.tar.bz2 |
* bttv-cards.c, bttv-i2c.c:
* saa7134-cards.c, saa7134-core.c:
* tuner-core.c:
- Strip whitespace.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/bttv-cards.c | 6 | ||||
-rw-r--r-- | linux/drivers/media/video/bttv-i2c.c | 6 | ||||
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-cards.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-core.c | 6 | ||||
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 14 |
5 files changed, 18 insertions, 18 deletions
diff --git a/linux/drivers/media/video/bttv-cards.c b/linux/drivers/media/video/bttv-cards.c index 8f4215c35..35d7fab28 100644 --- a/linux/drivers/media/video/bttv-cards.c +++ b/linux/drivers/media/video/bttv-cards.c @@ -1,5 +1,5 @@ /* - $Id: bttv-cards.c,v 1.51 2005/07/02 15:24:11 nsh Exp $ + $Id: bttv-cards.c,v 1.52 2005/07/02 16:24:34 mkrufky Exp $ bttv-cards.c @@ -2831,10 +2831,10 @@ void __devinit bttv_init_card2(struct bttv *btv) tun_addr.state = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV; tun_addr.type = btv->tuner_type; tun_addr.addr = ADDR_UNSET; - + bttv_call_i2c_clients(btv, TUNER_SET_TYPE_ADDR, &tun_addr); } - + btv->svhs = bttv_tvcards[btv->c.type].svhs; if (svhs[btv->c.nr] != UNSET) btv->svhs = svhs[btv->c.nr]; diff --git a/linux/drivers/media/video/bttv-i2c.c b/linux/drivers/media/video/bttv-i2c.c index 111c091a8..d7a8e3edb 100644 --- a/linux/drivers/media/video/bttv-i2c.c +++ b/linux/drivers/media/video/bttv-i2c.c @@ -1,5 +1,5 @@ /* - $Id: bttv-i2c.c,v 1.22 2005/07/02 15:24:11 nsh Exp $ + $Id: bttv-i2c.c,v 1.23 2005/07/02 16:24:34 mkrufky Exp $ bttv-i2c.c -- all the i2c code is here @@ -301,10 +301,10 @@ static int attach_inform(struct i2c_client *client) tun_addr.state = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV; tun_addr.type = btv->tuner_type; tun_addr.addr = ADDR_UNSET; - + bttv_call_i2c_clients(btv,TUNER_SET_TYPE_ADDR, &tun_addr); } - + if (btv->pinnacle_id != UNSET) bttv_call_i2c_clients(btv,AUDC_CONFIG_PINNACLE, &btv->pinnacle_id); diff --git a/linux/drivers/media/video/saa7134/saa7134-cards.c b/linux/drivers/media/video/saa7134/saa7134-cards.c index 6d4c793ef..f69567c16 100644 --- a/linux/drivers/media/video/saa7134/saa7134-cards.c +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-cards.c,v 1.77 2005/07/02 15:24:11 nsh Exp $ + * $Id: saa7134-cards.c,v 1.78 2005/07/02 16:24:34 mkrufky Exp $ * * device driver for philips saa7134 based TV cards * card-specific stuff. @@ -2532,7 +2532,7 @@ int saa7134_board_init2(struct saa7134_dev *dev) tun_addr.state = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV; tun_addr.type = dev->tuner_type; tun_addr.addr = ADDR_UNSET; - + saa7134_i2c_call_clients(dev, TUNER_SET_TYPE_ADDR, &tun_addr); } break; diff --git a/linux/drivers/media/video/saa7134/saa7134-core.c b/linux/drivers/media/video/saa7134/saa7134-core.c index 14a812907..16c4bb041 100644 --- a/linux/drivers/media/video/saa7134/saa7134-core.c +++ b/linux/drivers/media/video/saa7134/saa7134-core.c @@ -1,5 +1,5 @@ /* - * $Id: saa7134-core.c,v 1.37 2005/07/02 15:24:11 nsh Exp $ + * $Id: saa7134-core.c,v 1.38 2005/07/02 16:24:34 mkrufky Exp $ * * device driver for philips saa7134 based TV cards * driver core @@ -1004,7 +1004,7 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev, u8 subaddr; u8 data[3]; int ret, tuner_t; - + struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1}, {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}}; subaddr= 0x14; @@ -1066,7 +1066,7 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev, tun_addr.state = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV; tun_addr.type = dev->tuner_type; tun_addr.addr = ADDR_UNSET; - + saa7134_i2c_call_clients(dev,TUNER_SET_TYPE_ADDR,&tun_addr); } diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index 7e0b452c0..83ebda7c3 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-core.c,v 1.43 2005/07/02 15:24:11 nsh Exp $ + * $Id: tuner-core.c,v 1.44 2005/07/02 16:24:34 mkrufky Exp $ * * i2c tv tuner chip device driver * core core, i.e. kernel interfaces, registering and so on @@ -201,10 +201,10 @@ static void set_type(struct i2c_client *c, unsigned int type, t->admin_status); } -/* +/* * This function apply tuner config to tuner specified * by tun_addr structure. I addr is unset, then admin status - * and tun addr status is more precise then current status, + * and tun addr status is more precise then current status, * it's applied. Otherwise status and type are applied only to * tuner with exactly the same addr. */ @@ -384,7 +384,7 @@ static int tuner_detach(struct i2c_client *client) return 0; } -/* +/* * Switch tuner to other mode. If tuner support both tv and radio, * set another frequency to some value (This is needed for some pal * tuners to avoid locking). Otherwise, just put second tuner in @@ -462,7 +462,7 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) break; } break; - case TDA9887_SET_CONFIG: + case TDA9887_SET_CONFIG: break; /* --- v4l ioctls --- */ /* take care: bttv does userspace copying, we'll get a @@ -555,7 +555,7 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) { v4l2_std_id *id = arg; - if (set_mode (client, t, V4L2_TUNER_ANALOG_TV, "VIDIOC_S_STD") + if (set_mode (client, t, V4L2_TUNER_ANALOG_TV, "VIDIOC_S_STD") == EINVAL) return 0; @@ -575,7 +575,7 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg) switch_v4l2(); if (V4L2_TUNER_RADIO == f->type && V4L2_TUNER_RADIO != t->mode) { - if (set_mode (client, t, f->type, "VIDIOC_S_FREQUENCY") + if (set_mode (client, t, f->type, "VIDIOC_S_FREQUENCY") == EINVAL) return 0; } |