mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 08:49:45 +00:00
[AVR32] Fix duplicate clock index in at32ap machine code
There's a duplicate clock index between USART0 and USART1 which may be causing system crashes when USART0 is used. Change the USART0 index to '3', indicating the clock that is actually used by USART0. Signed-off-by: Ben Nizette <ben@niasdigital.com> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
This commit is contained in:
parent
138712218e
commit
80f76c54bd
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ static struct resource atmel_usart0_resource[] = {
|
|||
IRQ(6),
|
||||
};
|
||||
DEFINE_DEV_DATA(atmel_usart, 0);
|
||||
DEV_CLK(usart, atmel_usart0, pba, 4);
|
||||
DEV_CLK(usart, atmel_usart0, pba, 3);
|
||||
|
||||
static struct atmel_uart_data atmel_usart1_data = {
|
||||
.use_dma_tx = 1,
|
||||
|
|
Loading…
Reference in a new issue