mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-11-01 09:13:37 +00:00 
			
		
		
		
	clk: sunxi-ng: sun5i: Add clk_set_rate_parent to the CPU clock
The current CPU clock is missing the option to change the rate of its
parents, leading to improper rates calculated by cpufreq, and eventually
crashes.
Cc: <stable@vger.kernel.org>
Fixes: 5e73761786 ("clk: sunxi-ng: Add sun5i CCU driver")
Reported-by: Kevin Hilman <khilman@baylibre.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
			
			
This commit is contained in:
		
							parent
							
								
									5771a8c088
								
							
						
					
					
						commit
						9735ee9e3c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -184,7 +184,7 @@ static struct ccu_mux cpu_clk = {
 | 
			
		|||
		.hw.init	= CLK_HW_INIT_PARENTS("cpu",
 | 
			
		||||
						      cpu_parents,
 | 
			
		||||
						      &ccu_mux_ops,
 | 
			
		||||
						      CLK_IS_CRITICAL),
 | 
			
		||||
						      CLK_SET_RATE_PARENT | CLK_IS_CRITICAL),
 | 
			
		||||
	}
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue