diff options
-rw-r--r-- | drivers/hid/usbhid/hid-pidff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/usbhid/hid-pidff.c b/drivers/hid/usbhid/hid-pidff.c index 1b3fa70bd5ff..08174d341f4a 100644 --- a/drivers/hid/usbhid/hid-pidff.c +++ b/drivers/hid/usbhid/hid-pidff.c | |||
@@ -569,7 +569,7 @@ static int pidff_upload_effect(struct input_dev *dev, struct ff_effect *effect, | |||
569 | int error; | 569 | int error; |
570 | 570 | ||
571 | pidff->block_load[PID_EFFECT_BLOCK_INDEX].value[0] = 0; | 571 | pidff->block_load[PID_EFFECT_BLOCK_INDEX].value[0] = 0; |
572 | if (old && effect) { | 572 | if (old) { |
573 | pidff->block_load[PID_EFFECT_BLOCK_INDEX].value[0] = | 573 | pidff->block_load[PID_EFFECT_BLOCK_INDEX].value[0] = |
574 | pidff->pid_id[effect->id]; | 574 | pidff->pid_id[effect->id]; |
575 | } | 575 | } |