drm/msm: add calls to prepare and unprepare panel
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 27 Jul 2015 14:12:39 +0000 (15:12 +0100)
committerRob Clark <robdclark@gmail.com>
Sat, 15 Aug 2015 22:27:26 +0000 (18:27 -0400)
commit095022b9aa0546a0f3d3fb5f42c82b4004103864
tree799ce6421d043f76e9963b107719cebc3f7a61d2
parent09992e4d46935798b4a1cf3a734e6a0f3470f107
drm/msm: add calls to prepare and unprepare panel

Prepare the panel before it's enabled and un-prepare after disable, this
will make sure that the regulators are switched on and off correctly.

Tested it on APQ8064 based IFC6410 with panel.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_lcdc_encoder.c