From: Felipe Balbi Date: Wed, 23 Apr 2014 14:58:26 +0000 (-0500) Subject: bluetooth: hci_ldisc: fix deadlock condition X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~35^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da64c27d3c93ee9f89956b9de86c4127eb244494;p=pandora-kernel.git bluetooth: hci_ldisc: fix deadlock condition LDISCs shouldn't call tty->ops->write() from within ->write_wakeup(). ->write_wakeup() is called with port lock taken and IRQs disabled, tty->ops->write() will try to acquire the same port lock and we will deadlock. Acked-by: Marcel Holtmann Reviewed-by: Peter Hurley Reported-by: Huang Shijie Signed-off-by: Felipe Balbi Tested-by: Andreas Bießmann Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed