drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Apr 2017 12:31:56 +0000 (14:31 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 4 Apr 2017 15:48:21 +0000 (17:48 +0200)
commita23d6265f033501529932db2d6b3f4bc138552ab
tree78b5c98ef957f1ffd06507910ccd21d2829d51a4
parent9eb8902e278f3314e1e9429c5f13db9e7a7a0cff
drm: bridge: dw-hdmi: Extract PHY interrupt setup to a function

In preparation for adding PHY operations to handle RX SENSE and HPD,
group all the PHY interrupt setup code in a single location and extract
it to a separate function.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Jose Abreu <joabreu@synopsys.com>
[narmstrong: renamed dw_hdmi_fb_registered to dw_hdmi_setup_i2c]
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c