Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752552AbcDOVST (ORCPT ); Fri, 15 Apr 2016 17:18:19 -0400 Received: from pygmy.kinoho.net ([134.0.27.24]:50270 "EHLO pygmy.kinoho.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751352AbcDOVOc (ORCPT ); Fri, 15 Apr 2016 17:14:32 -0400 From: Grigori Goronzy To: Johan Hovold Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Major improvements to the ch341 driver v4 Date: Fri, 15 Apr 2016 23:14:03 +0200 Message-Id: <1460754856-27908-1-git-send-email-greg@chown.ath.cx> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 854 Lines: 32 Hi, here's a hopefully final v4 of my ch341 patchset. Changelog below this time, because it's cleary better this way. Please review. v4: - Fix parity even/odd mixup introduced in v3. - Fix compilation errors of intermediate commits introduced in v3. v3: - Use u8 shorthand for unsigned char. - Get rid of an unused variable. - Improve error handling in set_termios. - Only set mark/space when parity is enabled. - Use C_* macros and some other simplifications. - Patch termios HW flags for default CS8 case. - Drop most style fixes. - Unify definitions for the "general status" register bits. v2: - Improve/fix B0 handling. - Fix initial/default configuration. - Add tx_empty callback. - Split up one patch: - Reinitialize chip on reconfiguration. - Add support for parity, frame length, stop bits. v1: - Initial version Best regards Grigori