drm/bridge: adv7511: Rework adv7511_power_on/off() so they can be reused internally
authorJohn Stultz <john.stultz@linaro.org>
Tue, 17 Jan 2017 00:52:50 +0000 (16:52 -0800)
committerArchit Taneja <architt@codeaurora.org>
Thu, 19 Jan 2017 03:37:03 +0000 (09:07 +0530)
commit651e4769ba2a9f20c4b8a823ae2727bf7fa9c9f0
tree4a6a5af6539dde5e92afe2c8666274c7da03f73a
parent40d86d2d22b04c2b2e48e2fe7054b85cf5021f25
drm/bridge: adv7511: Rework adv7511_power_on/off() so they can be reused internally

In chasing down issues with EDID probing, I found some
duplicated but incomplete logic used to power the chip on and
off.

This patch refactors the adv7511_power_on/off functions, so
they can be used for internal needs.

Cc: David Airlie <airlied@linux.ie>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1484614372-15342-5-git-send-email-john.stultz@linaro.org
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c