Re: [PATCH 2/5] MIPS: ralink: mt7620: add spi clock definition

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

 



2013.08.08. 13:17 keltezéssel, John Crispin írta:
> The definition of the spi clock is missing.
> 
> Signed-off-by: John Crispin <blogic@xxxxxxxxxxx>
> ---
>  arch/mips/ralink/mt7620.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/mips/ralink/mt7620.c b/arch/mips/ralink/mt7620.c
> index ccdec5a..769296f 100644
> --- a/arch/mips/ralink/mt7620.c
> +++ b/arch/mips/ralink/mt7620.c
> @@ -167,6 +167,7 @@ void __init ralink_clk_init(void)
>  	ralink_clk_add("cpu", cpu_rate);
>  	ralink_clk_add("10000100.timer", 40000000);
>  	ralink_clk_add("10000500.uart", 40000000);
> +	ralink_clk_add("10000b00.spi", 40000000);

Please verify this. The SPI core uses the system clock AFAIK.

-Gabor


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux