aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tw9910.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-08-25 10:47:00 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-18 23:19:09 -0400
commit85f8be68125163085392ed4fc30adcbea641586d (patch)
tree1f265f7be42b78c559db067810514d4096ca1141 /drivers/media/video/tw9910.c
parentc9c1f1c0dbe90b82939917fdc3e4c9ccad42342d (diff)
V4L/DVB (12531): soc-camera: Use I2C device for dev_{dbg,info,...} output in all clients
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tw9910.c')
-rw-r--r--drivers/media/video/tw9910.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/tw9910.c b/drivers/media/video/tw9910.c
index b6b15468b40a..94bd5b09f057 100644
--- a/drivers/media/video/tw9910.c
+++ b/drivers/media/video/tw9910.c
@@ -793,7 +793,7 @@ static int tw9910_video_probe(struct soc_camera_device *icd,
793 */ 793 */
794 if (SOCAM_DATAWIDTH_16 != priv->info->buswidth && 794 if (SOCAM_DATAWIDTH_16 != priv->info->buswidth &&
795 SOCAM_DATAWIDTH_8 != priv->info->buswidth) { 795 SOCAM_DATAWIDTH_8 != priv->info->buswidth) {
796 dev_err(&icd->dev, "bus width error\n"); 796 dev_err(&client->dev, "bus width error\n");
797 return -ENODEV; 797 return -ENODEV;
798 } 798 }
799 799
@@ -807,12 +807,12 @@ static int tw9910_video_probe(struct soc_camera_device *icd,
807 807
808 if (0x0B != GET_ID(val) || 808 if (0x0B != GET_ID(val) ||
809 0x00 != GET_ReV(val)) { 809 0x00 != GET_ReV(val)) {
810 dev_err(&icd->dev, 810 dev_err(&client->dev,
811 "Product ID error %x:%x\n", GET_ID(val), GET_ReV(val)); 811 "Product ID error %x:%x\n", GET_ID(val), GET_ReV(val));
812 return -ENODEV; 812 return -ENODEV;
813 } 813 }
814 814
815 dev_info(&icd->dev, 815 dev_info(&client->dev,
816 "tw9910 Product ID %0x:%0x\n", GET_ID(val), GET_ReV(val)); 816 "tw9910 Product ID %0x:%0x\n", GET_ID(val), GET_ReV(val));
817 817
818 icd->vdev->tvnorms = V4L2_STD_NTSC | V4L2_STD_PAL; 818 icd->vdev->tvnorms = V4L2_STD_NTSC | V4L2_STD_PAL;