]> Git Repo - linux.git/commitdiff
Merge branch 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mcheha...
authorLinus Torvalds <[email protected]>
Fri, 4 Jun 2010 22:38:12 +0000 (15:38 -0700)
committerLinus Torvalds <[email protected]>
Fri, 4 Jun 2010 22:38:12 +0000 (15:38 -0700)
* 'v4l_for_2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (87 commits)
  V4L/DVB: ivtv: Timing tweaks and code re-order to try and improve stability
  V4L/DVB: ivtv: Avoid accidental video standard change
  V4L/DVB: ivtvfb : Module load / unload fixes
  V4L/DVB: cx2341x: Report correct temporal setting for log-status
  V4L/DVB: cx18, cx23885, v4l2 doc, MAINTAINERS: Update Andy Walls' email address
  V4L/DVB: drivers/media: Eliminate a NULL pointer dereference
  V4L/DVB: dvb-core: Fix ULE decapsulation bug
  V4L/DVB: Bug fix: make IR work again for dm1105
  V4L/DVB: media/IR: nec-decoder needs to select BITREV
  V4L/DVB: video/saa7134: change dprintk() to i2cdprintk()
  V4L/DVB: video/saa7134: remove duplicate break
  V4L/DVB: IR/imon: add auto-config for 0xffdc rf device
  V4L/DVB: IR/imon: clean up usage of bools
  V4L/DVB: em28xx: remove unneeded null checks
  V4L/DVB: ngene: remove unused #include <linux/version.h>
  V4L/DVB: ak881x needs slab.h
  V4L/DVB: FusionHDTV: Use quick reads for I2C IR device probing
  V4L/DVB: Technotrend S2-3200 ships with a TT 1500 remote
  V4L/DVB: drivers/media: Use kzalloc
  V4L/DVB: m920x: Select simple tuner
  ...

1  2 
MAINTAINERS
drivers/media/video/mt9m001.c
drivers/media/video/mt9m111.c
drivers/media/video/mt9t031.c
drivers/media/video/mt9t112.c
drivers/media/video/mt9v022.c
drivers/media/video/ov772x.c
drivers/media/video/ov9640.c
drivers/media/video/rj54n1cb0c.c
drivers/media/video/tw9910.c

diff --combined MAINTAINERS
index a73dd8030afa5f823d9e210a04778b6b3498993c,0200b63fb448b0462f890f317c1c830b8959286d..67accd730ac91a22dd12cf7fa47cc8d02061f8d8
@@@ -1731,7 -1731,7 +1731,7 @@@ S:      Maintaine
  F:    sound/pci/cs5535audio/
  
  CX18 VIDEO4LINUX DRIVER
- M:    Andy Walls <awalls@radix.net>
+ M:    Andy Walls <awalls@md.metrocast.net>
  L:    [email protected] (moderated for non-subscribers)
  L:    [email protected]
  T:    git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git
@@@ -3165,7 -3165,7 +3165,7 @@@ F:      Documentation/hwmon/it8
  F:    drivers/hwmon/it87.c
  
  IVTV VIDEO4LINUX DRIVER
- M:    Andy Walls <awalls@radix.net>
+ M:    Andy Walls <awalls@md.metrocast.net>
  L:    [email protected] (moderated for non-subscribers)
  L:    [email protected]
  T:    git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git
@@@ -3242,7 -3242,7 +3242,7 @@@ L:      [email protected]
  S:    Maintained
  F:    fs/autofs4/
  
 -KERNEL BUILD
 +KERNEL BUILD + files below scripts/ (unless maintained elsewhere)
  M:    Michal Marek <[email protected]>
  T:    git git://repo.or.cz/linux-kbuild.git for-next
  T:    git git://repo.or.cz/linux-kbuild.git for-linus
@@@ -3251,9 -3251,6 +3251,9 @@@ S:      Maintaine
  F:    Documentation/kbuild/
  F:    Makefile
  F:    scripts/Makefile.*
 +F:    scripts/basic/
 +F:    scripts/mk*
 +F:    scripts/package/
  
  KERNEL JANITORS
  L:    [email protected]
@@@ -3503,8 -3500,9 +3503,8 @@@ F:      arch/powerpc/platforms/83xx
  
  LINUX FOR POWERPC PA SEMI PWRFICIENT
  M:    Olof Johansson <[email protected]>
 -W:    http://www.pasemi.com/
  L:    [email protected]
 -S:    Supported
 +S:    Maintained
  F:    arch/powerpc/platforms/pasemi/
  F:    drivers/*/*pasemi*
  F:    drivers/*/*/*pasemi*
index e3b9a8ab37f4e5c53f11c14d82a8855883f50036,992ab8cb89ae0bc59671b4cb57f1d0617e484002..79f096ddcf5def01671ef05af5fe8abcad4c8878
@@@ -701,13 -701,13 +701,13 @@@ static struct v4l2_subdev_core_ops mt9m
  #endif
  };
  
- static int mt9m001_enum_fmt(struct v4l2_subdev *sd, int index,
+ static int mt9m001_enum_fmt(struct v4l2_subdev *sd, unsigned int index,
                            enum v4l2_mbus_pixelcode *code)
  {
        struct i2c_client *client = sd->priv;
        struct mt9m001 *mt9m001 = to_mt9m001(client);
  
-       if ((unsigned int)index >= mt9m001->num_fmts)
+       if (index >= mt9m001->num_fmts)
                return -EINVAL;
  
        *code = mt9m001->fmts[index].code;
@@@ -785,6 -785,7 +785,6 @@@ static int mt9m001_probe(struct i2c_cli
        ret = mt9m001_video_probe(icd, client);
        if (ret) {
                icd->ops = NULL;
 -              i2c_set_clientdata(client, NULL);
                kfree(mt9m001);
        }
  
@@@ -798,6 -799,7 +798,6 @@@ static int mt9m001_remove(struct i2c_cl
  
        icd->ops = NULL;
        mt9m001_video_remove(icd);
 -      i2c_set_clientdata(client, NULL);
        client->driver = NULL;
        kfree(mt9m001);
  
index e42162c50f0a3436ae74ee2249221b6ff75a1120,bac0c5d4070c9a56cdfe79a8bbdeb2947b908c51..fbd0fc794720cb21ef56345315a382d0f3263e27
@@@ -999,10 -999,10 +999,10 @@@ static struct v4l2_subdev_core_ops mt9m
  #endif
  };
  
- static int mt9m111_enum_fmt(struct v4l2_subdev *sd, int index,
+ static int mt9m111_enum_fmt(struct v4l2_subdev *sd, unsigned int index,
                            enum v4l2_mbus_pixelcode *code)
  {
-       if ((unsigned int)index >= ARRAY_SIZE(mt9m111_colour_fmts))
+       if (index >= ARRAY_SIZE(mt9m111_colour_fmts))
                return -EINVAL;
  
        *code = mt9m111_colour_fmts[index].code;
@@@ -1068,6 -1068,7 +1068,6 @@@ static int mt9m111_probe(struct i2c_cli
        ret = mt9m111_video_probe(icd, client);
        if (ret) {
                icd->ops = NULL;
 -              i2c_set_clientdata(client, NULL);
                kfree(mt9m111);
        }
  
@@@ -1080,6 -1081,7 +1080,6 @@@ static int mt9m111_remove(struct i2c_cl
        struct soc_camera_device *icd = client->dev.platform_data;
  
        icd->ops = NULL;
 -      i2c_set_clientdata(client, NULL);
        client->driver = NULL;
        kfree(mt9m111);
  
index 9f5ff2547f1993bde3f594aa95bf4bb11d23c50d,f26933a8fd8a5022825e1b1e689aa1cc1e19d69c..a9a28b2142359adcce64d15ed0cc4a64a8ab71e1
@@@ -798,7 -798,7 +798,7 @@@ static struct v4l2_subdev_core_ops mt9t
  #endif
  };
  
- static int mt9t031_enum_fmt(struct v4l2_subdev *sd, int index,
+ static int mt9t031_enum_fmt(struct v4l2_subdev *sd, unsigned int index,
                            enum v4l2_mbus_pixelcode *code)
  {
        if (index)
@@@ -883,6 -883,7 +883,6 @@@ static int mt9t031_probe(struct i2c_cli
        if (ret) {
                if (icd)
                        icd->ops = NULL;
 -              i2c_set_clientdata(client, NULL);
                kfree(mt9t031);
        }
  
@@@ -896,6 -897,7 +896,6 @@@ static int mt9t031_remove(struct i2c_cl
  
        if (icd)
                icd->ops = NULL;
 -      i2c_set_clientdata(client, NULL);
        client->driver = NULL;
        kfree(mt9t031);
  
index aa4fce95098f06a5e8dcb832cd56d7d15de972ba,abe5505b9f79bc87c757582c8b1774d3893b8692..e4bf1db9a87b4d978eaad6646c1fed2b1076cf70
@@@ -1017,10 -1017,10 +1017,10 @@@ static int mt9t112_try_fmt(struct v4l2_
        return 0;
  }
  
- static int mt9t112_enum_fmt(struct v4l2_subdev *sd, int index,
+ static int mt9t112_enum_fmt(struct v4l2_subdev *sd, unsigned int index,
                           enum v4l2_mbus_pixelcode *code)
  {
-       if ((unsigned int)index >= ARRAY_SIZE(mt9t112_cfmts))
+       if (index >= ARRAY_SIZE(mt9t112_cfmts))
                return -EINVAL;
  
        *code = mt9t112_cfmts[index].code;
@@@ -1119,6 -1119,7 +1119,6 @@@ static int mt9t112_probe(struct i2c_cli
        ret = mt9t112_camera_probe(icd, client);
        if (ret) {
                icd->ops = NULL;
 -              i2c_set_clientdata(client, NULL);
                kfree(priv);
        }
  
@@@ -1131,6 -1132,7 +1131,6 @@@ static int mt9t112_remove(struct i2c_cl
        struct soc_camera_device *icd = client->dev.platform_data;
  
        icd->ops = NULL;
 -      i2c_set_clientdata(client, NULL);
        kfree(priv);
        return 0;
  }
index fb44ff006628834fb45b5d728589edfad34b99a8,c409d05d465a57ea8dce0f942fe436a8081436f1..e7cd23cd63941ecb3380243f623960cf91c8ea31
@@@ -838,13 -838,13 +838,13 @@@ static struct v4l2_subdev_core_ops mt9v
  #endif
  };
  
- static int mt9v022_enum_fmt(struct v4l2_subdev *sd, int index,
+ static int mt9v022_enum_fmt(struct v4l2_subdev *sd, unsigned int index,
                            enum v4l2_mbus_pixelcode *code)
  {
        struct i2c_client *client = sd->priv;
        struct mt9v022 *mt9v022 = to_mt9v022(client);
  
-       if ((unsigned int)index >= mt9v022->num_fmts)
+       if (index >= mt9v022->num_fmts)
                return -EINVAL;
  
        *code = mt9v022->fmts[index].code;
@@@ -920,6 -920,7 +920,6 @@@ static int mt9v022_probe(struct i2c_cli
        ret = mt9v022_video_probe(icd, client);
        if (ret) {
                icd->ops = NULL;
 -              i2c_set_clientdata(client, NULL);
                kfree(mt9v022);
        }
  
@@@ -933,6 -934,7 +933,6 @@@ static int mt9v022_remove(struct i2c_cl
  
        icd->ops = NULL;
        mt9v022_video_remove(icd);
 -      i2c_set_clientdata(client, NULL);
        client->driver = NULL;
        kfree(mt9v022);
  
index c33acc94b7472c5c6fdaec46b26d1690fed541d7,86b0186c360c71243c8c3b41bf4f9cc9bc39add2..34034a710214e39b30f6f194f5cde31383aa9636
@@@ -1092,10 -1092,10 +1092,10 @@@ static struct v4l2_subdev_core_ops ov77
  #endif
  };
  
- static int ov772x_enum_fmt(struct v4l2_subdev *sd, int index,
+ static int ov772x_enum_fmt(struct v4l2_subdev *sd, unsigned int index,
                           enum v4l2_mbus_pixelcode *code)
  {
-       if ((unsigned int)index >= ARRAY_SIZE(ov772x_cfmts))
+       if (index >= ARRAY_SIZE(ov772x_cfmts))
                return -EINVAL;
  
        *code = ov772x_cfmts[index].code;
@@@ -1159,6 -1159,7 +1159,6 @@@ static int ov772x_probe(struct i2c_clie
        ret = ov772x_video_probe(icd, client);
        if (ret) {
                icd->ops = NULL;
 -              i2c_set_clientdata(client, NULL);
                kfree(priv);
        }
  
@@@ -1171,6 -1172,7 +1171,6 @@@ static int ov772x_remove(struct i2c_cli
        struct soc_camera_device *icd = client->dev.platform_data;
  
        icd->ops = NULL;
 -      i2c_set_clientdata(client, NULL);
        kfree(priv);
        return 0;
  }
index 035e9ecb0c7569ce0e65bde6607d1b6b529c10ff,58811c044c6a6e75ff4afc54ef35419ee62b0717..7ce9e05b47815c764baa56d087dab3d47b4b228d
@@@ -614,10 -614,10 +614,10 @@@ static int ov9640_try_fmt(struct v4l2_s
        return 0;
  }
  
- static int ov9640_enum_fmt(struct v4l2_subdev *sd, int index,
+ static int ov9640_enum_fmt(struct v4l2_subdev *sd, unsigned int index,
                           enum v4l2_mbus_pixelcode *code)
  {
-       if ((unsigned int)index >= ARRAY_SIZE(ov9640_codes))
+       if (index >= ARRAY_SIZE(ov9640_codes))
                return -EINVAL;
  
        *code = ov9640_codes[index];
@@@ -783,6 -783,7 +783,6 @@@ static int ov9640_probe(struct i2c_clie
  
        if (ret) {
                icd->ops = NULL;
 -              i2c_set_clientdata(client, NULL);
                kfree(priv);
        }
  
@@@ -793,6 -794,7 +793,6 @@@ static int ov9640_remove(struct i2c_cli
  {
        struct ov9640_priv *priv = i2c_get_clientdata(client);
  
 -      i2c_set_clientdata(client, NULL);
        kfree(priv);
        return 0;
  }
index 2c3b58c99e1884fb8db7bc7546eb758b5aaea094,64eb05ce56039ce09047c77801cf2f370726cee0..47fd207ba3b1f63dd3edf9458ff0a7b98fa5f3b7
@@@ -481,10 -481,10 +481,10 @@@ static int reg_write_multiple(struct i2
        return 0;
  }
  
- static int rj54n1_enum_fmt(struct v4l2_subdev *sd, int index,
+ static int rj54n1_enum_fmt(struct v4l2_subdev *sd, unsigned int index,
                           enum v4l2_mbus_pixelcode *code)
  {
-       if ((unsigned int)index >= ARRAY_SIZE(rj54n1_colour_fmts))
+       if (index >= ARRAY_SIZE(rj54n1_colour_fmts))
                return -EINVAL;
  
        *code = rj54n1_colour_fmts[index].code;
@@@ -1444,6 -1444,7 +1444,6 @@@ static int rj54n1_probe(struct i2c_clie
        ret = rj54n1_video_probe(icd, client, rj54n1_priv);
        if (ret < 0) {
                icd->ops = NULL;
 -              i2c_set_clientdata(client, NULL);
                kfree(rj54n1);
                return ret;
        }
@@@ -1460,6 -1461,7 +1460,6 @@@ static int rj54n1_remove(struct i2c_cli
        icd->ops = NULL;
        if (icl->free_bus)
                icl->free_bus(icl);
 -      i2c_set_clientdata(client, NULL);
        client->driver = NULL;
        kfree(rj54n1);
  
index 6eb3395def077754f30e7be7cdb5c1a60ea57b4c,2f3b1942e0279a8a71c291a3d6e5e84417e926fc..445dc93413e3ae32ffd7ab3654b3687b3ba600ce
@@@ -903,7 -903,7 +903,7 @@@ static struct v4l2_subdev_core_ops tw99
  #endif
  };
  
- static int tw9910_enum_fmt(struct v4l2_subdev *sd, int index,
+ static int tw9910_enum_fmt(struct v4l2_subdev *sd, unsigned int index,
                           enum v4l2_mbus_pixelcode *code)
  {
        if (index)
@@@ -977,6 -977,7 +977,6 @@@ static int tw9910_probe(struct i2c_clie
        ret = tw9910_video_probe(icd, client);
        if (ret) {
                icd->ops = NULL;
 -              i2c_set_clientdata(client, NULL);
                kfree(priv);
        }
  
@@@ -989,6 -990,7 +989,6 @@@ static int tw9910_remove(struct i2c_cli
        struct soc_camera_device *icd = client->dev.platform_data;
  
        icd->ops = NULL;
 -      i2c_set_clientdata(client, NULL);
        kfree(priv);
        return 0;
  }
This page took 0.094017 seconds and 4 git commands to generate.