projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b10ff54
)
parisc: hp_sdc_mlc.c - check return value of down_trylock()
author
Helge Deller
<deller@gmx.de>
Sun, 2 Aug 2009 13:13:29 +0000
(15:13 +0200)
committer
Helge Deller
<deller@gmx.de>
Sun, 2 Aug 2009 13:13:29 +0000
(15:13 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/input/serio/hp_sdc_mlc.c
patch
|
blob
|
history
diff --git
a/drivers/input/serio/hp_sdc_mlc.c
b/drivers/input/serio/hp_sdc_mlc.c
index
b587e2d
..
820e516
100644
(file)
--- a/
drivers/input/serio/hp_sdc_mlc.c
+++ b/
drivers/input/serio/hp_sdc_mlc.c
@@
-296,7
+296,7
@@
static void hp_sdc_mlc_out(hil_mlc *mlc)
priv->tseq[3] = 0;
if (mlc->opacket & HIL_CTRL_APE) {
priv->tseq[3] |= HP_SDC_LPC_APE_IPF;
-
down_trylock(&mlc->csem
);
+
BUG_ON(down_trylock(&mlc->csem)
);
}
enqueue:
hp_sdc_enqueue_transaction(&priv->trans);