staging: xillybus: Non-interruptible mutex_lock() on release method
authorEli Billauer <eli.billauer@gmail.com>
Thu, 4 Sep 2014 14:47:42 +0000 (17:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:58:18 +0000 (13:58 -0700)
commita983dd5d9b0e28fd2c5f667633f6a55ab93f290b
tree7cc21e2f67905cee12a9a368282a24c7a23cad4b
parent3cbc747946d9c4c0c018744fccfba952b7f8bcf0
staging: xillybus: Non-interruptible mutex_lock() on release method

Responding to an interrupt while handling the "release" method can't end
well anyhow. In practical cases, this can force the user to wait up to
one second while flushing remaining data is attempted (a timeout on the flush
mechanism limits the time for flushing).

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus_core.c