diff options
-rw-r--r-- | drivers/media/video/gspca/vc032x.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c index 619250e70718..589042f6adbe 100644 --- a/drivers/media/video/gspca/vc032x.c +++ b/drivers/media/video/gspca/vc032x.c | |||
@@ -2946,7 +2946,8 @@ static int sd_start(struct gspca_dev *gspca_dev) | |||
2946 | reg_w(gspca_dev->dev, 0x89, 0x058c, 0x0000); | 2946 | reg_w(gspca_dev->dev, 0x89, 0x058c, 0x0000); |
2947 | break; | 2947 | break; |
2948 | default: | 2948 | default: |
2949 | reg_w(gspca_dev->dev, 0x89, 0xffff, 0xfdff); | 2949 | if (!(sd->flags & FL_SAMSUNG)) |
2950 | reg_w(gspca_dev->dev, 0x89, 0xffff, 0xfdff); | ||
2950 | break; | 2951 | break; |
2951 | } | 2952 | } |
2952 | msleep(100); | 2953 | msleep(100); |
@@ -2964,7 +2965,7 @@ static void sd_stopN(struct gspca_dev *gspca_dev) | |||
2964 | 2965 | ||
2965 | if (sd->sensor == SENSOR_MI1310_SOC) | 2966 | if (sd->sensor == SENSOR_MI1310_SOC) |
2966 | reg_w(dev, 0x89, 0x058c, 0x00ff); | 2967 | reg_w(dev, 0x89, 0x058c, 0x00ff); |
2967 | else | 2968 | else if (!(sd->flags & FL_SAMSUNG)) |
2968 | reg_w(dev, 0x89, 0xffff, 0xffff); | 2969 | reg_w(dev, 0x89, 0xffff, 0xffff); |
2969 | reg_w(dev, 0xa0, 0x01, 0xb301); | 2970 | reg_w(dev, 0xa0, 0x01, 0xb301); |
2970 | reg_w(dev, 0xa0, 0x09, 0xb003); | 2971 | reg_w(dev, 0xa0, 0x09, 0xb003); |
@@ -2981,7 +2982,7 @@ static void sd_stop0(struct gspca_dev *gspca_dev) | |||
2981 | /*fixme: is this useful?*/ | 2982 | /*fixme: is this useful?*/ |
2982 | if (sd->sensor == SENSOR_MI1310_SOC) | 2983 | if (sd->sensor == SENSOR_MI1310_SOC) |
2983 | reg_w(dev, 0x89, 0x058c, 0x00ff); | 2984 | reg_w(dev, 0x89, 0x058c, 0x00ff); |
2984 | else | 2985 | else if (!(sd->flags & FL_SAMSUNG)) |
2985 | reg_w(dev, 0x89, 0xffff, 0xffff); | 2986 | reg_w(dev, 0x89, 0xffff, 0xffff); |
2986 | } | 2987 | } |
2987 | 2988 | ||