Patch "clk: keystone: sci-clk: fix parsing assigned-clock data during probe" has been added to the 5.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    clk: keystone: sci-clk: fix parsing assigned-clock data during probe

to the 5.8-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     clk-keystone-sci-clk-fix-parsing-assigned-clock-data.patch
and it can be found in the queue-5.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 2fcdd492c0551f2944b3d9a923a09e923b85e743
Author: Tero Kristo <t-kristo@xxxxxx>
Date:   Mon Sep 7 11:57:38 2020 +0300

    clk: keystone: sci-clk: fix parsing assigned-clock data during probe
    
    [ Upstream commit 2f05cced7307489faab873367fb20cd212e1d890 ]
    
    The DT clock probe loop incorrectly terminates after processing "clocks"
    only, fix this by re-starting the loop when all entries for current
    DT property have been parsed.
    
    Fixes: 8e48b33f9def ("clk: keystone: sci-clk: probe clocks from DT instead of firmware")
    Reported-by: Peter Ujfalusi <peter.ujfalusi@xxxxxx>
    Signed-off-by: Tero Kristo <t-kristo@xxxxxx>
    Link: https://lore.kernel.org/r/20200907085740.1083-2-t-kristo@xxxxxx
    Acked-by: Santosh Shilimkar <ssantosh@xxxxxxxxxx>
    Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/clk/keystone/sci-clk.c b/drivers/clk/keystone/sci-clk.c
index 7edf8c8432b67..64ea895f1a7df 100644
--- a/drivers/clk/keystone/sci-clk.c
+++ b/drivers/clk/keystone/sci-clk.c
@@ -522,7 +522,7 @@ static int ti_sci_scan_clocks_from_dt(struct sci_clk_provider *provider)
 		np = of_find_node_with_property(np, *clk_name);
 		if (!np) {
 			clk_name++;
-			break;
+			continue;
 		}
 
 		if (!of_device_is_available(np))



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux