Skip to content
Snippets Groups Projects
Commit 0686897d authored by lnx build's avatar lnx build Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdp-v2: Refine MSM clock availability checking"

parents a022cf6d 3e233452
No related branches found
No related tags found
No related merge requests found
# Copyright (c) 2015,2017 The Linux Foundation. All rights reserved.
# Copyright (c) 2015,2017-2018 The Linux Foundation. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 and
......@@ -267,7 +267,7 @@ class ClockDumps(RamParser):
'struct of_clk_provider', 'data')
data = self.ramdump.read_word(data_address, True)
if (self.ramdump.kernel_version < (4, 4, 38)):
if (self.ramdump.is_config_defined('CONFIG_COMMON_CLK_MSM')):
self.print_clk_of_msm_provider_data(data)
else:
self.print_clk_onecell_data(data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment