diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-10-25 05:50:58 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-25 19:14:42 (GMT) |
commit | 585628255a8c359d3db81818a23acfc6f22ff6d8 (patch) | |
tree | 313ca34ef213b0e9f824013da6936df438e29928 /drivers/staging/csr | |
parent | 9c2c438ceeee5d22aeaea4162a96c0f35f62a7ff (diff) | |
download | linux-585628255a8c359d3db81818a23acfc6f22ff6d8.tar.xz |
staging: csr: remove panic at locking the mutex
when down_interruptible fail, means a signal occur, or any other failure
we are panicing, and it seems that we should not panic, instead we would
have done a spinlock, but currently removing the panic call.
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr')
-rw-r--r-- | drivers/staging/csr/csr_framework_ext.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/csr/csr_framework_ext.c b/drivers/staging/csr/csr_framework_ext.c index e203f60..e62878e 100644 --- a/drivers/staging/csr/csr_framework_ext.c +++ b/drivers/staging/csr/csr_framework_ext.c @@ -82,7 +82,6 @@ CsrResult CsrMutexLock(CsrMutexHandle *mutexHandle) if (down_interruptible(mutexHandle)) { - CsrPanic(CSR_TECH_FW, CSR_PANIC_FW_UNEXPECTED_VALUE, "CsrMutexLock Failed"); return CSR_FE_RESULT_INVALID_POINTER; } |