Commit c6fe6b07 authored by Helge Deller's avatar Helge Deller

parisc: hp_sdc_mlc.c - check return value of down_trylock()

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent b10ff54f
...@@ -296,7 +296,7 @@ static void hp_sdc_mlc_out(hil_mlc *mlc) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment