drm/msm/dsi: Delay dsi_clk_init
authorArchit Taneja <architt@codeaurora.org>
Fri, 9 Oct 2015 07:10:39 +0000 (12:40 +0530)
committerRob Clark <robdclark@gmail.com>
Mon, 14 Dec 2015 15:40:24 +0000 (10:40 -0500)
commit31c92767aef63501da0214da9736cf60ac684f20
tree40812db3715d1a388690a28ffbd17fa99ec8bada
parent648d5063727ae3f555317baf6a5d2dc1e8e8d2a5
drm/msm/dsi: Delay dsi_clk_init

Initialize clocks only after we get the DSI host version. This will allow
us to get clocks using a pre-defined list based on the DSI major/minor
version of the host. This is required since clock requirements of
different major DSI revisions(v2 vs 6g) aren't the same.

Modify dsi_get_version to get the interface clock, and then put it after
it is used.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c