From: Helge Deller Date: Sun, 2 Aug 2009 13:13:29 +0000 (+0200) Subject: parisc: hp_sdc_mlc.c - check return value of down_trylock() X-Git-Tag: v2.6.31-rc6~72^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c6fe6b0783a8fd923d11dd0388cbd561ff15bdf1;p=platform%2Fupstream%2Fkernel-adaptation-pc.git parisc: hp_sdc_mlc.c - check return value of down_trylock() Signed-off-by: Helge Deller --- diff --git a/drivers/input/serio/hp_sdc_mlc.c b/drivers/input/serio/hp_sdc_mlc.c index b587e2d..820e516 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);