From: Daniel Vetter Date: Wed, 24 Oct 2012 13:35:50 +0000 (+0000) Subject: drm: don't unnecessarily enable the polling work X-Git-Tag: v3.8-rc1~82^2~156 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4f968d8e50cb7810e08ebb9bf4c8f2b769fdac7;p=pandora-kernel.git drm: don't unnecessarily enable the polling work ... by properly checking connector->polled. This doesn't matter too much because the polling work itself gets this slightly more right and doesn't set repoll if there's nothing to do. But we can do better. v2: Chris Wilson noticed that I broke polling, since repoll will never ever be set true. Fix this up, and simplify the logic a bit while at it. Signed-off-by: Daniel Vetter Signed-off-by: Dave Airlie --- Reading git-diff-tree failed