Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934337AbZJGUze (ORCPT ); Wed, 7 Oct 2009 16:55:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758140AbZJGUzd (ORCPT ); Wed, 7 Oct 2009 16:55:33 -0400 Received: from smtp-out003.kontent.com ([81.88.40.217]:60176 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753318AbZJGUzc convert rfc822-to-8bit (ORCPT ); Wed, 7 Oct 2009 16:55:32 -0400 From: Oliver Neukum To: Alan Stern Subject: Re: [PATCH 4/5] usb_serial: Kill port mutex Date: Wed, 7 Oct 2009 22:56:20 +0200 User-Agent: KMail/1.10.3 (Linux/2.6.31-rc9-0.1-default; KDE/4.1.3; x86_64; ; ) Cc: Alan Cox , Greg KH , Kernel development list , USB list References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200910072256.21316.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 674 Lines: 17 Am Mittwoch, 7. Oktober 2009 20:52:21 schrieb Alan Stern: > However in the option and sierra drivers there is a perverse path from > close to resume: Both their close methods call > usb_autopm_get_interface(). ?This could be removed without much > trouble; perhaps we should do so. I am afraid this won't do in the long run. Some drivers will want to shut down devices by communicating with them in close(). Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/