commit | 7584f2ebc18b6355f21be5fb2f75afbf3f781ce5 | [log] [tgz] |
---|---|---|
author | Thomas Pugliese <thomas.pugliese@gmail.com> | Wed Apr 23 14:32:27 2014 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 24 12:45:40 2014 -0700 |
tree | 048f31e5c303f4fcbb1cd5d7110598ffeec72d0f | |
parent | c996b9379180ee578b9ea208bb4f197201bbb023 [diff] |
usb: wusbcore: convert nested lock to use spin_lock instead of spin_lock_irq Nesting a spin_lock_irq/unlock_irq inside a lock that has already disabled interrupts will enable interrupts before we are ready when spin_unlock_irq is called. This patch converts the inner lock to use spin_lock and spin_unlock instead. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>