summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/vpmadt032.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/wcte12xp/vpmadt032.c')
-rw-r--r--drivers/dahdi/wcte12xp/vpmadt032.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/dahdi/wcte12xp/vpmadt032.c b/drivers/dahdi/wcte12xp/vpmadt032.c
index 1df5415..c9df41c 100644
--- a/drivers/dahdi/wcte12xp/vpmadt032.c
+++ b/drivers/dahdi/wcte12xp/vpmadt032.c
@@ -1057,7 +1057,9 @@ void gpakLockAccess(unsigned short DspId)
struct vpm150m *vpm = wc->vpm150m;
if (vpm)
- down_interruptible(&vpm->sem);
+ if (down_interruptible(&vpm->sem)) {
+ return;
+ }
}
}