From: Alan Cox Date: Tue, 8 Jan 2008 14:55:51 +0000 (+0000) Subject: pl2303: Fix mode switching regression X-Git-Tag: v2.6.24-rc8~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf5e5834bffc62b50cd4a201804506eb11ef1af8;p=pandora-kernel.git pl2303: Fix mode switching regression Cleaning out all the incorrect 'no change made' checks for termios settings showed up a problem with the PL2303. The hardware here seems to lose sync and bits if you tell it to make no changes. This shows up with a real world application. To fix this the driver check for meaningful hardware changes is restored but doing the tests correctly and as a tty layer function so it doesn't get duplicated wrongly everywhere if other drivers turn out to need it. Signed-off-by: Alan Cox Tested-by: Mirko Parthey Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed