Revision e6158b4a5647624ceb90074bfcc248ea3152c906 authored by Lothar Wassmann on 12 October 2005, 18:58:11 UTC, committed by Russell King on 12 October 2005, 18:58:11 UTC
Patch from Lothar Wassmann

The function serial_pxa_set_termios() is calling uart_update_timeout()
with the baud rate divisor as third parameter, while
uart_update_timeout() expects the baud rate in this place.
This results in a bogus port->timeout which is proportional to the
baud rate.

Signed-off-by: Lothar Wassmann <LW@KARO-electronics.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 6ec5e7f
Raw File
dma-mapping.h
#ifndef _ASM_M32R_DMA_MAPPING_H
#define _ASM_M32R_DMA_MAPPING_H

/*
 * NOTE: Do not include <asm-generic/dma-mapping.h>
 * Because it requires PCI stuffs, but current M32R don't provide these.
 */

static inline void *
dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle,
		   int flag)
{
	return (void *)NULL;
}

static inline void
dma_free_coherent(struct device *dev, size_t size, void *cpu_addr,
		    dma_addr_t dma_handle)
{
	return;
}

#endif /* _ASM_M32R_DMA_MAPPING_H */
back to top