Daniel Vetter 4984979b9b drm/irq: simplify irq checks in drm_wait_vblank
Checking for both an irq number _and_ whether it's enabled is
redundant. Originally I've thought the drm_dev_to_irq call would break
drivers which do their own irq checking, but those shouldn't have
DRIVER_HAVE_IRQ set as Thierry Reding pointed out. But such drivers
already need to set dev->irq_enabled for other reasons, so we might as
well ditch that check, too.

v2: Also drop the HAVE_IRQ check.

Cc: Thierry Reding <thierry.reding@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-04-22 11:41:09 +02:00
..
2014-04-08 21:34:51 +02:00
2014-04-05 15:37:40 -07:00
2014-04-05 15:37:40 -07:00
2014-04-18 16:57:53 -07:00
2014-04-07 10:24:18 -07:00
2014-04-08 13:28:02 +02:00
2014-04-08 13:27:40 +02:00
2014-04-18 16:40:08 -07:00
2014-04-08 13:27:40 +02:00
2014-04-07 10:24:18 -07:00
2014-04-05 18:32:31 -07:00
2014-04-18 16:40:08 -07:00
2014-04-17 10:51:01 -07:00
2014-04-09 08:39:39 -07:00
2014-04-16 12:28:47 -07:00
2014-04-09 08:39:39 -07:00
2014-04-18 16:40:08 -07:00
2014-04-15 15:21:22 -05:00
2014-04-05 15:37:40 -07:00
2014-04-18 16:40:08 -07:00
2014-04-11 13:30:05 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 15:38:41 -07:00
2014-04-11 13:35:49 -07:00
2014-04-18 16:58:47 -07:00
2014-04-16 14:04:59 -07:00
2014-04-16 14:03:40 -07:00
2014-04-03 14:05:02 -07:00
2014-04-16 14:07:51 -07:00