From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759696AbZJGSGe (ORCPT ); Wed, 7 Oct 2009 14:06:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758551AbZJGSGd (ORCPT ); Wed, 7 Oct 2009 14:06:33 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:40907 "EHLO mail-ew0-f208.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757999AbZJGSGc (ORCPT ); Wed, 7 Oct 2009 14:06:32 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=vZUi/AjNBEAwuAm6TxJWStPZqf3doCc3DIxNqQSO0+0vqcKauopgjwphI1aKzvM4QK /fko5VHBkOTIz0fmdGsofdSgUm/zcqbWjZqkzgGFHOFgyuxIYKIY6jY/feAdSjFDoyQ3 StMEC7tY+kCaz2TywVo1t93WdVk+OiSOFEmP0= From: Johan Hovold To: Greg Kroah-Hartman , Alan Cox Cc: Oliver Neukum , Alan Stern , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/4]: USB: ftdi_sio: fix regression in 2.6.31 and clean up Date: Wed, 7 Oct 2009 20:05:03 +0200 Message-Id: <1254938707-6996-1-git-send-email-jhovold@gmail.com> X-Mailer: git-send-email 1.6.5.rc2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, These patches clean up the ftdi_sio driver and fixes 1) a long outstanding bug manifesting itself as BUG: sleeping function called from invalid context at kernel/mutex.c:280 2) a couple of regressions in 2.6.31 (stalled reads and unthrottle race) due to changes in the tty layer. Please have a look at it so we can get something back-ported to stable as the ftdi_sio driver is currently completly broken and unusable due to the stalled reads. Note that the patches do not add suspend/resume support to the driver (but the clean up should make it easier to implement). Thanks to Alan Cox, Oliver Neukum, and Alan Stern for all comments and suggestions so far. Thanks, Johan drivers/usb/serial/ftdi_sio.c | 422 +++++++++++++---------------------------- 1 files changed, 129 insertions(+), 293 deletions(-)