USB: O_NONBLOCK in read path of skeleton
authorOliver Neukum <oliver@neukum.org>
Wed, 9 Sep 2009 15:08:50 +0000 (17:08 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:40 +0000 (06:46 -0700)
commit8cd01664344e983d73a85ce604f7c23f475cf303
tree6eac7c223c62db18a045cb9b606f59e20b61416a
parent798199867385417ba6494472e39c016e3340758c
USB: O_NONBLOCK in read path of skeleton

Non blocking IO is supported in the read path of usb-skeleton.
This is done by just not blocking. As support for handling signals
without stopping IO is already there, it can be used for O_NONBLOCK, too.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/usb-skeleton.c