Add patch not to open the same device file many times. 63/14563/1
authorsh.pi <sh.pi@samsung.com>
Wed, 27 Mar 2013 12:39:45 +0000 (21:39 +0900)
committerKrzysztof Sasiak <k.sasiak@samsung.com>
Tue, 7 Jan 2014 15:18:59 +0000 (16:18 +0100)
commitcaa1bbefece33e7551909e239dfc0c114fe5dda8
treee39db3feaf2ece37800871849ba84fc6daa4da88
parent62db62d2a81c71ce598443b25d87786d3a01ccbf
Add patch not to open the same device file many times.

There is the error that one input device file is opened many times.
If udev or kernel layer send wrong uevent, deviced can register devices abnomally.
Now deviced(pm) receives uevent and add all input device to internal list.
and check that device file is already registered in list.

Change-Id: I7b97eb4c1fd9890ccc218d428342c5b141a06e39
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
display/core.c
display/poll.c