Skip to content

Commit

Permalink
V4L/DVB (12624): gspca_mr97310a: Use correct register for CIF type 1 …
Browse files Browse the repository at this point in the history
…sensor gain settings

gspca_mr97310a: Use correct register for CIF type 1 sensor gain settings

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed Sep 12, 2009
1 parent a2e081b commit 823902d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/mr97310a.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ static void setgain(struct gspca_dev *gspca_dev)
return;

if (sd->sensor_type) {
sensor_write1(gspca_dev, 3, sd->gain);
sensor_write1(gspca_dev, 0x0e, sd->gain);
} else {
sensor_write1(gspca_dev, 0x10, sd->gain);
}
Expand Down

0 comments on commit 823902d

Please sign in to comment.