aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-10-21 03:05:15 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 12:26:01 -0400
commit0303a90a744662e934877a5d637a43197229274b (patch)
treeddfc16506c2eacef49896941c1e4360e8b42333e /drivers/media
parent40004e24c489cbeea9089a35530b553834391bf1 (diff)
[media] gspca - sonixj: Fix a regression of sensors hv7131r and mi0360
The bug was introduced by commit 23a98274cc348880ecb6803307c254448084953a applying values of sensor sp80708 to sensors hv7131r and mi0360. Signed-off-by: Jean-François Moine <moinejf@free.fr> Cc: stable@kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/gspca/sonixj.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c
index ba6e9662ffc5..fa942734207a 100644
--- a/drivers/media/video/gspca/sonixj.c
+++ b/drivers/media/video/gspca/sonixj.c
@@ -2588,8 +2588,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
2588 reg1 = 0x44; 2588 reg1 = 0x44;
2589 reg17 = 0xa2; 2589 reg17 = 0xa2;
2590 break; 2590 break;
2591 default: 2591 case SENSOR_SP80708:
2592/* case SENSOR_SP80708: */
2593 init = sp80708_sensor_param1; 2592 init = sp80708_sensor_param1;
2594 if (mode) { 2593 if (mode) {
2595/*?? reg1 = 0x04; * 320 clk 48Mhz */ 2594/*?? reg1 = 0x04; * 320 clk 48Mhz */