aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sonixj.c
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-02-10 06:00:40 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 19:32:07 -0400
commit336d23ef88fd71564fb07fdc1d1d871f8e1eeadd (patch)
tree0a7642a7ab03d854bfa59e3010fdd5083403b038 /drivers/media/video/gspca/sonixj.c
parente6a92a7445cc33bbfe2775eb50473fb43bb3a2da (diff)
[media] gspca - sonixj: Same init for all bridges but the sn9c102p
Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sonixj.c')
-rw-r--r--drivers/media/video/gspca/sonixj.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index bfc09b97b061..571d086eabe5 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/drivers/media/video/gspca/sonixj.c
@@ -1835,13 +1835,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
1835 case BRIDGE_SN9C102P: 1835 case BRIDGE_SN9C102P:
1836 reg_w1(gspca_dev, 0x02, regGpio[1]); 1836 reg_w1(gspca_dev, 0x02, regGpio[1]);
1837 break; 1837 break;
1838 case BRIDGE_SN9C105: 1838 default:
1839 reg_w(gspca_dev, 0x01, regGpio, 2);
1840 break;
1841 case BRIDGE_SN9C110:
1842 reg_w1(gspca_dev, 0x02, 0x62);
1843 break;
1844 case BRIDGE_SN9C120:
1845 reg_w(gspca_dev, 0x01, regGpio, 2); 1839 reg_w(gspca_dev, 0x01, regGpio, 2);
1846 break; 1840 break;
1847 } 1841 }