diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-22 17:23:41 -1000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-22 17:23:41 -1000 |
commit | d32e5f44a5aeb9c1febaf16db45bf888a3f66725 (patch) | |
tree | 4ebd5550ea9ed5fc437233f3224fa1c0ea4e372c /include | |
parent | c0a3a64e723324ae6dda53214061a71de63808c3 (diff) | |
parent | 05f5c38576475439f3124a3e6d62db68de83f7be (diff) | |
download | linux-d32e5f44a5aeb9c1febaf16db45bf888a3f66725.tar.gz linux-d32e5f44a5aeb9c1febaf16db45bf888a3f66725.tar.bz2 linux-d32e5f44a5aeb9c1febaf16db45bf888a3f66725.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input fixes from Dmitry Torokhov:
- fixes for two long standing issues (lock up and a crash) in force
feedback handling in uinput driver
- tweak to firmware update timing in Elan I2C touchpad driver.
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: elan_i2c - extend Flash-Write delay
Input: uinput - avoid crash when sending FF request to device going away
Input: uinput - avoid FF flush when destroying device
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index a65e3b24fb18..fb5e23c7ed98 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -529,6 +529,7 @@ int input_ff_event(struct input_dev *dev, unsigned int type, unsigned int code, int input_ff_upload(struct input_dev *dev, struct ff_effect *effect, struct file *file); int input_ff_erase(struct input_dev *dev, int effect_id, struct file *file); +int input_ff_flush(struct input_dev *dev, struct file *file); int input_ff_create_memless(struct input_dev *dev, void *data, int (*play_effect)(struct input_dev *, void *, struct ff_effect *)); |