summaryrefslogtreecommitdiff
path: root/drivers/vlynq
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-02-26 15:01:53 +0400
committerDavid S. Miller <davem@davemloft.net>2014-02-27 01:06:13 +0400
commitc728cc88cec52a6bf97679ed4353bc42ff25e6ab (patch)
tree37d77f03a9d6a9046ad8e850d65a26ea8b23a208 /drivers/vlynq
parente5b3fa1547283b25d5e68ad2563b7e7dd8cb1209 (diff)
downloadlinux-c728cc88cec52a6bf97679ed4353bc42ff25e6ab.tar.xz
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 <arnd@arndb.de> Cc: Karsten Keil <isdn@linux-pingi.de> Cc: netdev@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vlynq')
0 files changed, 0 insertions, 0 deletions