25 Nov
2010
25 Nov
'10
7:17 a.m.
+/* hardware capability structure */ +static const struct snd_pcm_hardware snd_intel_hadstream = {
- .info = (SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_DOUBLE |
SNDRV_PCM_INFO_PAUSE |
SNDRV_PCM_INFO_RESUME |
You have to implement corresponding stuff if you mark the driver as RESUME-able.
Yes we have implemented SNDRV_PCM_TRIGGER_PAUSE_RELEASE
PAUSE != RESUME. For implementing the PM resume, you need more works.
Also I don't remember whether you implemented PM suspend/resume callbacks, did you...?
We will remove SNDRV_PCM_INFO_RESUME capability as the driver is not resume-able. RFC patches didn't have PM suspend/resume. However we will implement platform PM functionality before submitting final patches.