Input: evdev - fix bug in checking duplicate clock change request
authorAniroop Mathur <a.mathur@samsung.com>
Fri, 30 Oct 2015 11:15:37 +0000 (04:15 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 31 Oct 2015 17:35:02 +0000 (10:35 -0700)
commitbf5f18d708802737fa0db6306f6b9148f85b2efd
tree65c8baf0c1896214fd90de355767ba14586b9a8b
parent5523662edd4fe937267053c2018b75be2ac17860
Input: evdev - fix bug in checking duplicate clock change request

clk_type and clkid stores different predefined clock identification
values so they cannot be compared for checking duplicate clock change
request. Therefore, lets fix it to avoid unexpected results.

Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/evdev.c