]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Input: remove race when instantiating polled device attributes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 28 Apr 2014 20:16:00 +0000 (13:16 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:40:03 +0000 (16:40 -0700)
commitd1fefd5b73ba9fe301441e84ebea06044d8f5ea4
tree6fb8fb7babfc6194047603a859ee5f60da190a62
parent27245519f0de50b005323c6cd8560ce77c1b42ae
Input: remove race when instantiating polled device attributes

Polled device's attributes controlling polling rate and whether polling is
enabled are attached to input device. We should have device core
instantiate them for us, so that they are created by the time new device
notification is sent to userspace, instead of doing it ourselves
afterwards.

Tested-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input-polldev.c