commit | 7d4f9f094b0a01ba199f97cd4a5f5609391a04f9 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jirislaby@gmail.com> | Tue Apr 29 00:59:14 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 29 08:06:02 2008 -0700 |
tree | a7eaaafa99a7e8b46a80f41afda61221902d1004 | |
parent | 7e4e8e689fe90dd94bd76f9706d6cce580941ed5 [diff] |
Misc, phantom, fix poll Return ERR even if there are pending data, but hw is not running. Do not decrement count in poll, do it in ioctl, where data are actually read. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>