From: Colin Leitner Date: Mon, 4 Nov 2013 18:40:43 +0000 (+0100) Subject: USB: pl2303: fixed handling of CS5 setting X-Git-Tag: v3.2.54~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc76bef573fcbe221fef9d0ce4fd0be9f9e941cc;p=pandora-kernel.git USB: pl2303: fixed handling of CS5 setting commit a313249937820f8b1996133fc285efbd6aad2c5b upstream. This patch fixes the CS5 setting on the PL2303 USB-to-serial devices. CS5 has a value of 0 and the CSIZE setting has been skipped altogether by the enclosing if. Tested on 3.11.6 and the scope shows the correct output after the fix has been applied. Tagged to be added to stable, because it fixes a user visible driver bug and is simple enough to backport easily. Signed-off-by: Colin Leitner Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: - Old code is cosmetically different] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed