mirror of
https://github.com/adulau/aha.git
synced 2024-12-31 21:26:18 +00:00
V4L/DVB (12624): gspca_mr97310a: Use correct register for CIF type 1 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>
This commit is contained in:
parent
a2e081b64e
commit
823902defe
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue