Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

at91: at91sam9261.c: fix typo in t2_clk alias for atmel_tcb.0

This was a typo in clockdev declaration for at91sam9261 SoC.
Fix the kernel hanging when switching clocksource to TC (tcb_clksrc).

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Remy Bohmer <linux@bohmer.net>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

authored by

Jean-Christophe PLAGNIOL-VILLARD and committed by
Nicolas Ferre
c0764b2a fcb8ce5c

+1 -1
+1 -1
arch/arm/mach-at91/at91sam9261.c
··· 157 157 CLKDEV_CON_DEV_ID("spi_clk", "atmel_spi.1", &spi1_clk), 158 158 CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.0", &tc0_clk), 159 159 CLKDEV_CON_DEV_ID("t1_clk", "atmel_tcb.0", &tc1_clk), 160 - CLKDEV_CON_DEV_ID("t2_clk", "atmel_tcb.0", &tc1_clk), 160 + CLKDEV_CON_DEV_ID("t2_clk", "atmel_tcb.0", &tc2_clk), 161 161 CLKDEV_CON_DEV_ID("pclk", "ssc.0", &ssc0_clk), 162 162 CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), 163 163 CLKDEV_CON_DEV_ID("pclk", "ssc.2", &ssc2_clk),