USB: legousbtower: make poll notice disconnect
authorOliver Neukum <oliver@neukum.org>
Thu, 2 Jul 2009 10:07:07 +0000 (12:07 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:28 +0000 (06:46 -0700)
commitd35b4ce164f393ad58580ad3e9fdde86328739ad
tree847f4cd7511d74e95dc9f0df96610b518eaf4212
parenta4708103adeaf5731c329b37b0a2b397f814c55c
USB: legousbtower: make poll notice disconnect

poll needs to return an error if a device is disconnected
  - make poll check for device's presence
  - wake all waiters in disconnect

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