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
param.h
#ifndef _ASM_M32R_PARAM_H
#define _ASM_M32R_PARAM_H

/* $Id$ */

/* orig : i386 2.5.67 */

#ifdef __KERNEL__
# define HZ		100		/* Internal kernel timer frequency */
# define USER_HZ	100		/* .. some user interfaces are in "ticks" */
# define CLOCKS_PER_SEC	(USER_HZ)	/* like times() */
#endif

#ifndef HZ
#define HZ 100
#endif

#define EXEC_PAGESIZE	4096

#ifndef NOGROUP
#define NOGROUP		(-1)
#endif

#define MAXHOSTNAMELEN	64	/* max length of hostname */

#endif /* _ASM_M32R_PARAM_H */

back to top