2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/drivers/isdn/pcbit
Arnd Bergmann e5b3fa1547 isdn: pcbit: fix interruptible_sleep_on race
interruptible_sleep_on is racy and going away. In case of pcbit,
the driver would run into a timeout if the card is initialized
before we start waiting for it. This uses wait_event to fix the
race. In order to do this, the state machine handling for the
timeout case has to get trivially reorganized so we actually know
whether the timeout has occorred or not.

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>
2014-02-26 16:06:12 -05:00
..
callbacks.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
callbacks.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capi.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
drv.c isdn: pcbit: fix interruptible_sleep_on race 2014-02-26 16:06:12 -05:00
edss1.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
edss1.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
Kconfig Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
layer2.c isdn: Fix typo in drivers/isdn 2012-11-09 17:10:16 -05:00
layer2.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
Makefile
module.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
pcbit.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00