[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <481B3FBF.9070004@aknet.ru>
Date: Fri, 02 May 2008 20:22:23 +0400
From: Stas Sergeev <stsp@...et.ru>
To: Takashi Iwai <tiwai@...e.de>
CC: Linux kernel <linux-kernel@...r.kernel.org>,
Dmitry Torokhov <dmitry.torokhov@...il.com>
Subject: Re: patch driver-core-warn-about-duplicate-driver-names-on-the-same-bus.patch
added to gregkh-2.6 tree
Hello.
Takashi Iwai wrote:
>> Another point is PM callbacks. Somehow
>> snd-pcsp will have to register them with
>> pcspkr.
> Hmm, isn't platform PM hook enough?
> pcspkr.c just sends an event at suspend or shutdown to the event
> handler. So, if the event was shut up at the beginning in the
> handler, nothing would be needed.
I don't think I understand what you mean...
Currently, pcspkr.c just stops the timer
counter to shut up the beep.
snd-pcsp needs more. snd_pcm_suspend_all()
for instance. Since it doesn't register
itself as a platform driver any more, he
have to register itself into pcspkr.c.
Or?
I mean, sending a "shut up" event to the
pcspkr's handler is not what snd-pcsp
needs to do.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists