]> rtime.felk.cvut.cz Git - linux-imx.git/commit
drm/i915: wait_event_timeout's timeout is in jiffies
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 18 Feb 2013 22:00:24 +0000 (19:00 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Feb 2013 00:33:45 +0000 (01:33 +0100)
commitb90f517627f76640e0f6d2aa17f143dc10623a58
tree499371e4799b947c083e8a57c79d2312d0ccac36
parent22b8bf17c6c1db887e3e9adb0778d6f03e621e66
drm/i915: wait_event_timeout's timeout is in jiffies

So use msecs_to_jiffies(10) to make the timeout the same as in the
"!has_aux_irq" case.

This patch was initially written by Daniel Vetter and posted on
pastebin a few weeks ago. I'm just bringing it to the mailing list.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c