Add an api for early initialization of input udev
authorHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 28 Oct 2020 07:36:05 +0000 (16:36 +0900)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 25 Jan 2024 14:15:26 +0000 (15:15 +0100)
commit116f4cf9233286bf93eb196d561221dfaa20560f
tree42734fe591033442f425e08ee897dce70deda675
parent3bf7f97f769e900a0f2fa70ec51030f204273e9a
Add an api for early initialization of input udev

KERNEL[3.864698] add      /devices/virtual/rc/rc1/input2 (input)
DEVPATH=/devices/virtual/rc/rc1/input2
UDEV  [6.541278] add      /devices/virtual/rc/rc1/input2 (input)
DEVPATH=/devices/virtual/rc/rc1/input2

For fast input accessing, input udev should be set up early,
so that udev_device_get_is_initialized(input_udev_dev) check can be skipped before UDEV [6.541278].

Change-Id: I8182f856b0169f9c434bb360a49cfef109485c94
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/libudev/libudev-device.c
src/libudev/libudev.h
src/libudev/libudev.sym