commit | cd78b8a52106604b02e34c45afc20b27f8522ee0 | [log] [tgz] |
---|---|---|
author | Dhaval Patel <pdhaval@codeaurora.org> | Tue Oct 11 10:26:07 2016 -0700 |
committer | Narendra Muppalla <NarendraM@codeaurora.org> | Wed Jan 04 14:28:04 2017 -0800 |
tree | 02cf325eb8217c8a27729b5bfb6ac8fdcd2cff36 | |
parent | 8dedc23dc4b6af3f9853770dd29ab22424360a5e [diff] |
drm/msm: fix power handle APIs when clk are not present Power handle API stores the clocks dt parsing return code in to an "unsigned integer" while of_node API may return an error code if clocks are not present in dtsi. That may lead to invalid memory allocation also. This patch fixes the clock parsing and avoids free if clocks are not allocated. Change-Id: I3199c86cfee9a3e0a97b902651841a9d2772359a Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>