diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-10-25 10:34:13 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-12-19 02:48:51 +0100 |
commit | fbae10db094046dba1d59e1c2ee5140835045f14 (patch) | |
tree | f9129de6b266dada624d4bbce5457ed87fb42630 /mm/filemap.c | |
parent | Input: uinput - add new UINPUT_DEV_SETUP and UI_ABS_SETUP ioctl (diff) | |
download | linux-fbae10db094046dba1d59e1c2ee5140835045f14.tar.xz linux-fbae10db094046dba1d59e1c2ee5140835045f14.zip |
Input: uinput - rework ABS validation
Rework the uinput ABS validation to check passed absinfo data immediately,
but do ABS initialization as last step in UI_DEV_CREATE. The behavior
observed by user-space is not changed, as ABS initialization was never
checked for errors.
With this in place, the order of device initialization and abs
configuration is no longer fixed. Userspace can initialize the device and
afterwards set absinfo just fine.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions