From: Arnd Bergmann Date: Wed, 26 Feb 2014 11:01:53 +0000 (+0100) Subject: isdn: hisax/elsa: fix sleep_on race in elsa FSM X-Git-Tag: v3.15-rc1~113^2~252 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c728cc88cec52a6bf97679ed4353bc42ff25e6ab;p=pandora-kernel.git isdn: hisax/elsa: fix sleep_on race in elsa FSM The state machine code in the elsa driver uses interruptible_sleep_on to wait for state changes, which is racy. A closer look at the possible states reveals that it is always used to wait for getting back into ARCOFI_NOP, so we can use wait_event_interruptible instead. Signed-off-by: Arnd Bergmann Cc: Karsten Keil Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller --- Reading git-diff-tree failed