From: Oliver Neukum Subject: Re: [PATCH V3] input: Fix USB autosuspend on bcm5974 Date: Wed, 12 Oct 2011 19:11:53 +0200 Message-ID: <201110121911.53918.oliver@neukum.org> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out003.kontent.com ([81.88.40.217]:44391 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750769Ab1JLRyb (ORCPT ); Wed, 12 Oct 2011 13:54:31 -0400 In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Alan Stern Cc: Matthew Garrett , Henrik Rydberg , linux-input@vger.kernel.org, dtor@mail.ru Am Mittwoch, 12. Oktober 2011, 17:28:06 schrieb Alan Stern: > > Arguably a driver is the wrong layer to do this. > > Are you suggesting the usb_runtime_suspend() should call > usb_mark_last_busy() and pm_runtime_autosuspend() if usb_suspend_both() > returns -EBUSY or -EAGAIN? Yes. Regards Oliver