aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32
diff options
context:
space:
mode:
authorBen Nizette <bn@niasdigital.com>2009-06-03 05:38:20 -0400
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-06-03 05:38:20 -0400
commitc076b9937f4912ffc09b30e155fe5246f002f21a (patch)
tree3c7eb27035a16c69bc81b11a16e0145ab8eb0fdd /arch/avr32
parent9fa7eb283c5cdc2b0f4a8cfe6387ed82e5e9a3d3 (diff)
avr32: Fix clash in ATMEL_USART_ flags
At the moment ATMEL_USART_{RTS,CTS,CLK} have the values 1, 2 and 3 respectively. Given these are used in bitmasks, trying to turn on the CLK line will in fact turn on the RTS and CTS lines as well. Change the value of ATMEL_USART_CLK to 4. Signed-off-by: Ben Nizette <bn@niasdigital.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32')
-rw-r--r--arch/avr32/mach-at32ap/include/mach/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/include/mach/board.h b/arch/avr32/mach-at32ap/include/mach/board.h
index 0b8164281899..ddedb471f33e 100644
--- a/arch/avr32/mach-at32ap/include/mach/board.h
+++ b/arch/avr32/mach-at32ap/include/mach/board.h
@@ -29,7 +29,7 @@ extern struct platform_device *atmel_default_console_device;
29/* Flags for selecting USART extra pins */ 29/* Flags for selecting USART extra pins */
30#define ATMEL_USART_RTS 0x01 30#define ATMEL_USART_RTS 0x01
31#define ATMEL_USART_CTS 0x02 31#define ATMEL_USART_CTS 0x02
32#define ATMEL_USART_CLK 0x03 32#define ATMEL_USART_CLK 0x04
33 33
34struct atmel_uart_data { 34struct atmel_uart_data {
35 short use_dma_tx; /* use transmit DMA? */ 35 short use_dma_tx; /* use transmit DMA? */