diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-04-29 11:59:14 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 19:06:02 +0400 |
commit | 7d4f9f094b0a01ba199f97cd4a5f5609391a04f9 (patch) | |
tree | a7eaaafa99a7e8b46a80f41afda61221902d1004 /drivers/misc/thinkpad_acpi.c | |
parent | 7e4e8e689fe90dd94bd76f9706d6cce580941ed5 (diff) | |
download | linux-7d4f9f094b0a01ba199f97cd4a5f5609391a04f9.tar.xz |
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>
Diffstat (limited to 'drivers/misc/thinkpad_acpi.c')
0 files changed, 0 insertions, 0 deletions