[xburst] Disable CONFIG_MODVERSIONS
[openwrt.git] / target / linux / avr32 / patches / 001-fix_usart_clash.patch
1 Fix clash in ATMEL_USART_ flags
2
3 At the moment ATMEL_USART_{RTS,CTS,CLK} have the values
4 1, 2 and 3 respectively. Given these are used in bitmasks,
5 trying to turn on the CLK line will in fact turn on the
6 RTS and CTS lines as well.
7
8 Change the value of ATMEL_USART_CLK to 4.
9
10 Signed-off-by: Ben Nizette <bn@niasdigital.com>
11 ---
12 --- a/arch/avr32/mach-at32ap/include/mach/board.h
13 +++ b/arch/avr32/mach-at32ap/include/mach/board.h
14 @@ -29,7 +29,7 @@ extern struct platform_device *atmel_def
15 /* Flags for selecting USART extra pins */
16 #define ATMEL_USART_RTS 0x01
17 #define ATMEL_USART_CTS 0x02
18 -#define ATMEL_USART_CLK 0x03
19 +#define ATMEL_USART_CLK 0x04
20
21 struct atmel_uart_data {
22 short use_dma_tx; /* use transmit DMA? */
This page took 0.044937 seconds and 5 git commands to generate.