parisc: hp_sdc_mlc.c - check return value of down_trylock()
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
b10ff54f9f
commit
c6fe6b0783
@ -296,7 +296,7 @@ static void hp_sdc_mlc_out(hil_mlc *mlc)
|
|||||||
priv->tseq[3] = 0;
|
priv->tseq[3] = 0;
|
||||||
if (mlc->opacket & HIL_CTRL_APE) {
|
if (mlc->opacket & HIL_CTRL_APE) {
|
||||||
priv->tseq[3] |= HP_SDC_LPC_APE_IPF;
|
priv->tseq[3] |= HP_SDC_LPC_APE_IPF;
|
||||||
down_trylock(&mlc->csem);
|
BUG_ON(down_trylock(&mlc->csem));
|
||||||
}
|
}
|
||||||
enqueue:
|
enqueue:
|
||||||
hp_sdc_enqueue_transaction(&priv->trans);
|
hp_sdc_enqueue_transaction(&priv->trans);
|
||||||
|
Loading…
Reference in New Issue
Block a user