View | Details | Raw Unified | Return to bug 195303 | Differences between
and this patch

Collapse All | Expand All

(-)a/sound/pci/hda/hda_controller.c (-4 / +4 lines)
Lines 252-258 static int azx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) Link Here
252
	spin_lock(&bus->reg_lock);
252
	spin_lock(&bus->reg_lock);
253
253
254
	/* first, set SYNC bits of corresponding streams */
254
	/* first, set SYNC bits of corresponding streams */
255
	snd_hdac_stream_sync_trigger(hstr, true, sbits, sync_reg);
255
	//snd_hdac_stream_sync_trigger(hstr, true, sbits, sync_reg);
256
256
257
	snd_pcm_group_for_each_entry(s, substream) {
257
	snd_pcm_group_for_each_entry(s, substream) {
258
		if (s->pcm->card != substream->pcm->card)
258
		if (s->pcm->card != substream->pcm->card)
Lines 267-277 static int azx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) Link Here
267
	}
267
	}
268
	spin_unlock(&bus->reg_lock);
268
	spin_unlock(&bus->reg_lock);
269
269
270
	snd_hdac_stream_sync(hstr, start, sbits);
270
	//snd_hdac_stream_sync(hstr, start, sbits);
271
271
272
	spin_lock(&bus->reg_lock);
272
	spin_lock(&bus->reg_lock);
273
	/* reset SYNC bits */
273
	/* reset SYNC bits */
274
	snd_hdac_stream_sync_trigger(hstr, false, sbits, sync_reg);
274
	//snd_hdac_stream_sync_trigger(hstr, false, sbits, sync_reg);
275
	if (start)
275
	if (start)
276
		snd_hdac_stream_timecounter_init(hstr, sbits);
276
		snd_hdac_stream_timecounter_init(hstr, sbits);
277
	spin_unlock(&bus->reg_lock);
277
	spin_unlock(&bus->reg_lock);
Lines 560-566 static struct snd_pcm_hardware azx_pcm_hw = { Link Here
560
				 /* No full-resume yet implemented */
560
				 /* No full-resume yet implemented */
561
				 /* SNDRV_PCM_INFO_RESUME |*/
561
				 /* SNDRV_PCM_INFO_RESUME |*/
562
				 SNDRV_PCM_INFO_PAUSE |
562
				 SNDRV_PCM_INFO_PAUSE |
563
				 SNDRV_PCM_INFO_SYNC_START |
563
				 //SNDRV_PCM_INFO_SYNC_START |
564
				 SNDRV_PCM_INFO_HAS_WALL_CLOCK | /* legacy */
564
				 SNDRV_PCM_INFO_HAS_WALL_CLOCK | /* legacy */
565
				 SNDRV_PCM_INFO_HAS_LINK_ATIME |
565
				 SNDRV_PCM_INFO_HAS_LINK_ATIME |
566
				 SNDRV_PCM_INFO_NO_PERIOD_WAKEUP),
566
				 SNDRV_PCM_INFO_NO_PERIOD_WAKEUP),

Return to bug 195303