summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/dpll3xxx.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2019-01-15 12:15:14 +0300
committerTero Kristo <t-kristo@ti.com>2019-02-15 17:46:22 +0300
commit8aa09cf322c196df95b52ed63c4cae605296f343 (patch)
treef47ca101f20a4528b7e0249570cb03821fb73b76 /drivers/clk/ti/dpll3xxx.c
parent7fd79ee78a0318bd23f92c3cf3f4aba03a5dd6ad (diff)
downloadlinux-8aa09cf322c196df95b52ed63c4cae605296f343.tar.xz
clk: ti: remove usage of CLK_IS_BASIC
Remove the usage of CLK_IS_BASIC flag completely from TI clock driver. In most cases, the use is completely redundant, but in some cases we need to use the new API to check if the clock is an OMAP clock or not. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Tested-by: Keerthy <j-keerthy@ti.com>
Diffstat (limited to 'drivers/clk/ti/dpll3xxx.c')
-rw-r--r--drivers/clk/ti/dpll3xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/dpll3xxx.c b/drivers/clk/ti/dpll3xxx.c
index 44b6b6403753..3dde6c8c3354 100644
--- a/drivers/clk/ti/dpll3xxx.c
+++ b/drivers/clk/ti/dpll3xxx.c
@@ -731,7 +731,7 @@ static struct clk_hw_omap *omap3_find_clkoutx2_dpll(struct clk_hw *hw)
do {
do {
hw = clk_hw_get_parent(hw);
- } while (hw && (clk_hw_get_flags(hw) & CLK_IS_BASIC));
+ } while (hw && (!omap2_clk_is_hw_omap(hw)));
if (!hw)
break;
pclk = to_clk_hw_omap(hw);