commit | 616b6937e348ef2b4c6ea5fef2cd3c441145efb0 | [log] [tgz] |
---|---|---|
author | Bjørn Mork <bjorn@mork.no> | Wed May 09 13:53:21 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 11 15:19:22 2012 -0700 |
tree | 0bd0944b6ee1a84b45dc7f002c05ebba204fc965 | |
parent | b8cacf33f09c60208a914b36b3e6de8e9ba228d5 [diff] |
USB: cdc-wdm: poll must return POLLHUP if device is gone Else the poll will be restarted indefinitely in a tight loop, preventing final device cleanup. Cc: Oliver Neukum <oliver@neukum.org> Cc: stable <stable@vger.kernel.org> Signed-off-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>