summaryrefslogtreecommitdiff
path: root/opt/sane/streifen.patch.new
blob: 7923e856190b39bd646ef8407d5dc51116a090d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/backend/genesys.c b/backend/genesys.c
index e0ee9509..19b3a827 100644
--- a/backend/genesys.c
+++ b/backend/genesys.c
@@ -2069,12 +2069,9 @@ genesys_white_shading_calibration (Genesys_Device * dev)
   /* turn on motor and lamp power */
   dev->model->cmd_set->set_lamp_power (dev, dev->calib_reg, SANE_TRUE);
   dev->model->cmd_set->set_motor_power (dev->calib_reg, motor);
-
-  /* if needed, go back before doin next scan, by using rewind, registers and
-   * slopes table are kept intact from previous scan */
-  if (dev->model->flags & GENESYS_FLAG_SHADING_REPARK && dev->model->cmd_set->rewind)
+  if (dev->model->flags & GENESYS_FLAG_SHADING_REPARK)
     {
-      status = dev->model->cmd_set->rewind (dev);
+	  status = dev->model->cmd_set->slow_back_home (dev, SANE_TRUE);
     }
 
   status =