Re: ASoC suspend/resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 12, 2008 at 02:22:27PM +0000, Dmitry Baryshkov wrote:

> I'm trying to clean up spitz ASoC driver: I need to put some GPIO pins to low
> during suspend and restore them during resume. What is the most logical place
> to do that? I can't find any suitable suspend hook.

The machine driver has suspend and resume callbacks, as well as a bias
level callback which should be usable for the same purprose (force the
GPIOs low when bias is off and set up normally otherwise).  The suspend
and resume hooks can run either before or after the main ASoC
infrastructure suspends (the _pre and _post variants).
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux