Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751119AbVK3Kn3 (ORCPT ); Wed, 30 Nov 2005 05:43:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751135AbVK3Kn3 (ORCPT ); Wed, 30 Nov 2005 05:43:29 -0500 Received: from mail.suse.de ([195.135.220.2]:23002 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1751119AbVK3Kn2 (ORCPT ); Wed, 30 Nov 2005 05:43:28 -0500 Date: Wed, 30 Nov 2005 11:44:02 +0100 Message-ID: From: Takashi Iwai To: Pierre Ossman Cc: Andrew Morton , linux-kernel@vger.kernel.org, ambx1@neo.rr.com Subject: Re: [Fwd: [PATCH] [PNP][RFC] Suspend support for PNP bus.] In-Reply-To: <438CB0D8.90607@drzeus.cx> References: <436B2819.4090909@drzeus.cx> <20051129113210.3d95d71f.akpm@osdl.org> <438CA2D9.8030304@drzeus.cx> <20051129120212.3e679296.akpm@osdl.org> <438CB0D8.90607@drzeus.cx> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta21) (corn) (+CVS-20050720) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1712 Lines: 59 At Tue, 29 Nov 2005 20:49:44 +0100, Pierre Ossman wrote: > > Andrew Morton wrote: > > >Pierre Ossman wrote: > > > > > >>Andrew Morton wrote: > >> > >> > >> > >>>Pierre Ossman wrote: > >>> > >>> > >>> > >>> > >>>>Add support for suspending devices connected to the PNP bus. New > >>>>callbacks are added for the drivers and the PNP hardware layer is > >>>>told to disable the device during the suspend. > >>>> > >>>> > >>>> > >>>> > >>>The ALSA guys have gone off and implemented their own version of this, and > >>>it's a bit different. I'll need to drop this patch now. > >>> > >>>Please review http://www.zip.com.au/~akpm/linux/patches/stuff/git-alsa.patch, sort > >>>things out? > >>> > >>> > >>> > >>> > >>That things is huge! Do the ALSA guys perhaps have a patch with just the > >>PnP bit in it? > >> > >> > >> > > > >http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/perex/alsa-current.git;a=commitdiff;h=5353d906effe648dd20899fe61ecb6982ad93cdd > > > > > > > > That patch is a bit dumber than mine. It doesn't do anything but call > the driver supplied suspend/resume function, i.e. no PnP handling during > suspend. It does handle cards though, something my patch doesn't do. > Perhaps a combination of the two is acceptable to the ALSA crowd? Yep, my implementation is only for very basic things and may lack of many stuff. Any fix would be welcome. Takashi - 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/