msm: mdss: remove hw rev read from capability node

MDSS hardware capability node turns on clock and
check the hw revision every time client calls the
read operation. This is not required because MDSS
driver reads the revision information during MDP
driver probe.

Change-Id: I2db424f7aa1af5c5b006023f70516c2d83fe5372
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
This commit is contained in:
Dhaval Patel 2016-01-19 18:49:50 -08:00 committed by David Keitel
parent 63f1a4b258
commit db73451abf

View file

@ -1669,10 +1669,6 @@ static ssize_t mdss_mdp_show_capabilities(struct device *dev,
#define SPRINT(fmt, ...) \
(cnt += scnprintf(buf + cnt, len - cnt, fmt, ##__VA_ARGS__))
mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_ON);
mdss_hw_rev_init(mdata);
mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_OFF);
SPRINT("mdp_version=5\n");
SPRINT("hw_rev=%d\n", mdata->mdp_rev);
SPRINT("pipe_count:%d\n", mdata->nvig_pipes + mdata->nrgb_pipes +