From: Christophe Leroy Date: Mon, 24 Sep 2012 06:39:44 +0000 (+0200) Subject: Powerpc 8xx CPM_UART setting MAXIDL register proportionaly to baud rate X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~74^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e62bdc07e1b397704354cf3bd58950943ecaaf1;p=pandora-kernel.git Powerpc 8xx CPM_UART setting MAXIDL register proportionaly to baud rate MAXIDL is the timeout after which a receive buffer is closed when not full if no more characters are received. We calculate it from the baudrate so that the duration is always the same at standard rates: about 4ms. At 9600 bauds it gives a timeout of 4 characters, which is the timeout on the 8250 UART. Signed-off-by: Christophe Leroy Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed