Input: hil_kbd - fix incorrect use of init_completion
The successive init_completion calls should be reinit_completion calls. Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at> Acked-by: Helge Deller <deller@gmx.de> Tested-by: Helge Deller <deller@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Родитель
6d32af019a
Коммит
cceeb872d6
|
@ -473,7 +473,7 @@ static int hil_dev_connect(struct serio *serio, struct serio_driver *drv)
|
|||
if (error)
|
||||
goto bail1;
|
||||
|
||||
init_completion(&dev->cmd_done);
|
||||
reinit_completion(&dev->cmd_done);
|
||||
serio_write(serio, 0);
|
||||
serio_write(serio, 0);
|
||||
serio_write(serio, HIL_PKT_CMD >> 8);
|
||||
|
@ -482,7 +482,7 @@ static int hil_dev_connect(struct serio *serio, struct serio_driver *drv)
|
|||
if (error)
|
||||
goto bail1;
|
||||
|
||||
init_completion(&dev->cmd_done);
|
||||
reinit_completion(&dev->cmd_done);
|
||||
serio_write(serio, 0);
|
||||
serio_write(serio, 0);
|
||||
serio_write(serio, HIL_PKT_CMD >> 8);
|
||||
|
@ -491,7 +491,7 @@ static int hil_dev_connect(struct serio *serio, struct serio_driver *drv)
|
|||
if (error)
|
||||
goto bail1;
|
||||
|
||||
init_completion(&dev->cmd_done);
|
||||
reinit_completion(&dev->cmd_done);
|
||||
serio_write(serio, 0);
|
||||
serio_write(serio, 0);
|
||||
serio_write(serio, HIL_PKT_CMD >> 8);
|
||||
|
|
Загрузка…
Ссылка в новой задаче