OSDN Git Service

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)
commitaf518342effd3a89103a37943cdaecbac19d1ae6
treec2d078b8d649165ab3a179c24bce41cffcf9d514
parent76d97b0f9c73e651f0691d63872dd7ad00d04256
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