diff options
| -rw-r--r-- | drivers/input/mouse/elantech.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index ee2a04d90d20..15c5f304f7e7 100644 --- a/drivers/input/mouse/elantech.c +++ b/drivers/input/mouse/elantech.c | |||
| @@ -1506,6 +1506,7 @@ int elantech_init(struct psmouse *psmouse) | |||
| 1506 | return 0; | 1506 | return 0; |
| 1507 | 1507 | ||
| 1508 | init_fail: | 1508 | init_fail: |
| 1509 | psmouse_reset(psmouse); | ||
| 1509 | kfree(etd); | 1510 | kfree(etd); |
| 1510 | return -1; | 1511 | return -1; |
| 1511 | } | 1512 | } |
