diff options
| author | Pierre-Loup A. Griffais <pgriffais@valvesoftware.com> | 2015-12-09 11:46:25 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-01 09:46:36 +0100 |
| commit | 65d58b49932de70692bb079fad64bac641a61caa (patch) | |
| tree | 11de8fff5161c31ae260dc395fed3f9ac92e6d99 /include/linux/debugobjects.h | |
| parent | bec36000f898ade8261711cef6ceb7caf34ceae3 (diff) | |
Input: xpad - handle "present" and "gone" correctly
[ Upstream commit 09c8b00ae3e16c8d0fd4beb2ca064502a76c0f17 ]
Handle the "a new device is present" message properly by dynamically
creating the input device at this point in time. This means we now do not
"preallocate" all 4 devices when a single wireless base station is seen.
This requires a workqueue as we are in interrupt context when we learn
about this.
Also properly disconnect any devices that we are told are removed.
Signed-off-by: "Pierre-Loup A. Griffais" <pgriffais@valvesoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
