]> git.baikalelectronics.ru Git - kernel.git/commit
Input: olpc_apsp - check FIFO status on open(), not probe()
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 15 Nov 2018 19:10:58 +0000 (11:10 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 15 Nov 2018 19:14:48 +0000 (11:14 -0800)
commitb5ea7a4e52859b02b395158874b8789a600e1220
treec2d078b8d649165ab3a179c24bce41cffcf9d514
parent0eefcd126d9c9ea42f079c1b87f6a8e2d9858f9c
Input: olpc_apsp - check FIFO status on open(), not probe()

Let's defer the FIFO status checking until open().

When we'll get a clk handle, this will allow us to defer clock enablement
until the device is actually used.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/olpc_apsp.c