From: Jiri Slaby Date: Tue, 29 Apr 2008 07:59:14 +0000 (-0700) Subject: Misc, phantom, fix poll X-Git-Tag: v2.6.26-rc1~640 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d4f9f094b0a01ba199f97cd4a5f5609391a04f9;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed