Skip to content
Snippets Groups Projects
Commit ec87da10 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Dmitry Torokhov
Browse files

Input: olpc_apsp - assign priv->dev earlier


The dev field needs to be set when serio_register_port() is called,
because the open callback may use it (in the error handling path).

Fixes: commit af518342 ("Input: olpc_apsp - check FIFO status on open(), not probe()")
Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent d77651a2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment