forked from Minki/linux
e5b3fa1547
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> |
||
---|---|---|
.. | ||
callbacks.c | ||
callbacks.h | ||
capi.c | ||
capi.h | ||
drv.c | ||
edss1.c | ||
edss1.h | ||
Kconfig | ||
layer2.c | ||
layer2.h | ||
Makefile | ||
module.c | ||
pcbit.h |