From: Peter Hurley Date: Wed, 6 Mar 2013 13:20:53 +0000 (-0500) Subject: n_tty: Fix stuck throttled driver X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~136^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e91e52e42814b130c20d17bc1e2adf813c50db11;p=pandora-kernel.git n_tty: Fix stuck throttled driver As noted in the following comment: /* FIXME: there is a tiny race here if the receive room check runs before the other work executes and empties the buffer (upping the receiving room and unthrottling. We then throttle and get stuck. This has been observed and traced down by Vincent Pillet/ We need to address this when we sort out out the rx path locking */ Use new safe throttle/unthrottle functions to re-evaluate conditions if interrupted by the complement flow control function. Reported-by: Vincent Pillet Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed