Skip to content

Commit

Permalink
[SUNKBD]: Fix sunkbd_enable(sunkbd, 0); obvious.
Browse files Browse the repository at this point in the history
"sunkbd_enable(sunkbd, 0);" has no effect. Adding "sunkbd->enabled =
enable" in sunkbd_enable (obvious)

Signed-off-by: Fabrice Knevez <nuxdoors@cegetel.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Fabrice Knevez authored and David S. Miller committed Dec 17, 2006
1 parent b06824c commit 9bc83dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/keyboard/sunkbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ static void sunkbd_reinit(struct work_struct *work)
static void sunkbd_enable(struct sunkbd *sunkbd, int enable)
{
serio_pause_rx(sunkbd->serio);
sunkbd->enabled = 1;
sunkbd->enabled = enable;
serio_continue_rx(sunkbd->serio);
}

Expand Down

0 comments on commit 9bc83dc

Please sign in to comment.