diff options
Diffstat (limited to 'drivers/hid/usbhid/hid-pidff.c')
-rw-r--r-- | drivers/hid/usbhid/hid-pidff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/usbhid/hid-pidff.c b/drivers/hid/usbhid/hid-pidff.c index f5a90e950e6b..011326178c06 100644 --- a/drivers/hid/usbhid/hid-pidff.c +++ b/drivers/hid/usbhid/hid-pidff.c | |||
@@ -738,6 +738,7 @@ static void pidff_autocenter(struct pidff_device *pidff, u16 magnitude) | |||
738 | pidff->set_effect[PID_TRIGGER_BUTTON].value[0] = 0; | 738 | pidff->set_effect[PID_TRIGGER_BUTTON].value[0] = 0; |
739 | pidff->set_effect[PID_TRIGGER_REPEAT_INT].value[0] = 0; | 739 | pidff->set_effect[PID_TRIGGER_REPEAT_INT].value[0] = 0; |
740 | pidff_set(&pidff->set_effect[PID_GAIN], magnitude); | 740 | pidff_set(&pidff->set_effect[PID_GAIN], magnitude); |
741 | pidff->set_effect[PID_DIRECTION_ENABLE].value[0] = 1; | ||
741 | pidff->set_effect[PID_START_DELAY].value[0] = 0; | 742 | pidff->set_effect[PID_START_DELAY].value[0] = 0; |
742 | 743 | ||
743 | usbhid_submit_report(pidff->hid, pidff->reports[PID_SET_EFFECT], | 744 | usbhid_submit_report(pidff->hid, pidff->reports[PID_SET_EFFECT], |