: ali5451 driver & suspend/resume
The following bug has been CLOSED
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000393
======================================================================
Reported By: Nemaru Assigned To: tiwai ====================================================================== Project: ALSA - driver Bug ID: 393 Category: PCI - ali5451 Reproducibility: always Severity: feature Priority: normal Status: closed Distribution: Kernel Version: ====================================================================== Date Submitted: 07-16-2004 10:52 CEST Last Modified: 09-24-2004 13:33 CEST
======================================================================
Summary: ali5451 driver & suspend/resume
Description:
In alsa/alsa-kernel/core/init.c(Revision 1.48)
I found pci_restore_state to snd_card_pci_resume().
However, there is no pci_save_state in snd_card_pci_suspend(). There is no pci_save_state also in alsa/alsa-kernel/pci/ali5451.c(Revision 1.55).
Does pci_save_state fall out and become precocious?
In alsa/alsa-kernel/pci/ali5451.c(Revision 1.55).
Although snd_power_change_state (card and SNDRV_CTL_POWER_D3hot) was found to ali_suspend, there is no snd_power_change_state (card and SNDRV_CTL_POWER_D0) in ali_resume.
Does snd_power_change_state (card and SNDRV_CTL_POWER_D0) fall out and become precocious?
======================================================================
----------------------------------------------------------------------
tiwai - 07-16-2004 11:50 CEST
----------------------------------------------------------------------
The missing snd_change_power_state() is fixed on CVS.
You don't need pci_save_state(). It's called internally in the pci core driver on the recent kernel. For older kernels, init.c is patched in alsa-driver tree.
Bug History
Date Modified Username Field Change
======================================================================
07-16-04 10:52 Nemaru New Bug 07-16-04 11:50 tiwai Bugnote Added: 0001439 07-16-04 11:50 tiwai Assigned To => tiwai 07-16-04 11:50 tiwai Resolution open => fixed 07-16-04 11:50 tiwai Status new => resolved 09-24-04 13:33 tiwai Status resolved => closed
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php