diff options
author | Helge Deller <deller@gmx.de> | 2009-08-02 15:13:29 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2009-08-02 15:13:29 +0200 |
commit | c6fe6b0783a8fd923d11dd0388cbd561ff15bdf1 (patch) | |
tree | 88b84c436d6c3e1e763645cb0f41174132e16c88 /drivers/input | |
parent | b10ff54f9f58adfb708b53e6e56ed3d7804ade74 (diff) | |
download | linux-3.10-c6fe6b0783a8fd923d11dd0388cbd561ff15bdf1.tar.gz linux-3.10-c6fe6b0783a8fd923d11dd0388cbd561ff15bdf1.tar.bz2 linux-3.10-c6fe6b0783a8fd923d11dd0388cbd561ff15bdf1.zip |
parisc: hp_sdc_mlc.c - check return value of down_trylock()
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/serio/hp_sdc_mlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/hp_sdc_mlc.c b/drivers/input/serio/hp_sdc_mlc.c index b587e2d576a..820e51673b2 100644 --- 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); |