V4L/DVB (9565): gspca: Remove empty lines in traces.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
53e745157b
commit
1c44d81dbb
@@ -1998,7 +1998,7 @@ int gspca_auto_gain_n_exposure(struct gspca_dev *gspca_dev, int avg_lum,
|
|||||||
desired lumination fast (with the risc of a slight overshoot) */
|
desired lumination fast (with the risc of a slight overshoot) */
|
||||||
steps = abs(desired_avg_lum - avg_lum) / deadzone;
|
steps = abs(desired_avg_lum - avg_lum) / deadzone;
|
||||||
|
|
||||||
PDEBUG(D_FRAM, "autogain: lum: %d, desired: %d, steps: %d\n",
|
PDEBUG(D_FRAM, "autogain: lum: %d, desired: %d, steps: %d",
|
||||||
avg_lum, desired_avg_lum, steps);
|
avg_lum, desired_avg_lum, steps);
|
||||||
|
|
||||||
for (i = 0; i < steps; i++) {
|
for (i = 0; i < steps; i++) {
|
||||||
|
@@ -847,7 +847,7 @@ static void do_autogain(struct gspca_dev *gspca_dev)
|
|||||||
else if (gspca_auto_gain_n_exposure(gspca_dev, avg_lum,
|
else if (gspca_auto_gain_n_exposure(gspca_dev, avg_lum,
|
||||||
sd->brightness * desired_avg_lum / 127,
|
sd->brightness * desired_avg_lum / 127,
|
||||||
deadzone, GAIN_KNEE, EXPOSURE_KNEE)) {
|
deadzone, GAIN_KNEE, EXPOSURE_KNEE)) {
|
||||||
PDEBUG(D_FRAM, "autogain: gain changed: gain: %d expo: %d\n",
|
PDEBUG(D_FRAM, "autogain: gain changed: gain: %d expo: %d",
|
||||||
(int)sd->gain, (int)sd->exposure);
|
(int)sd->gain, (int)sd->exposure);
|
||||||
sd->autogain_ignore_frames = AUTOGAIN_IGNORE_FRAMES;
|
sd->autogain_ignore_frames = AUTOGAIN_IGNORE_FRAMES;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user