Commit 336d23ef authored by Jean-François Moine's avatar Jean-François Moine Committed by Mauro Carvalho Chehab

[media] gspca - sonixj: Same init for all bridges but the sn9c102p

Signed-off-by: default avatarJean-François Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e6a92a74
...@@ -1835,13 +1835,7 @@ static int sd_init(struct gspca_dev *gspca_dev) ...@@ -1835,13 +1835,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
case BRIDGE_SN9C102P: case BRIDGE_SN9C102P:
reg_w1(gspca_dev, 0x02, regGpio[1]); reg_w1(gspca_dev, 0x02, regGpio[1]);
break; break;
case BRIDGE_SN9C105: default:
reg_w(gspca_dev, 0x01, regGpio, 2);
break;
case BRIDGE_SN9C110:
reg_w1(gspca_dev, 0x02, 0x62);
break;
case BRIDGE_SN9C120:
reg_w(gspca_dev, 0x01, regGpio, 2); reg_w(gspca_dev, 0x01, regGpio, 2);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment