android_kernel_xiaomi_sm8350/sound/pci/hda
Jaroslav Kysela fa00e046b4 [ALSA] hda_intel: fix unexpected ring buffer positions
I found two issues with ICH7-M (it should be related to other HDA chipsets
as well):

- the ring buffer position is not reset when stream restarts (after xrun) -
  solved by moving azx_stream_reset() call from open() to prepare() callback
  and reset posbuf to zero (it might be filled with hw later than position()
  callback is called)
- irq_ignore flag should be set also when ring buffer memory area is not
  changed in prepare() callback - this patch replaces irq_ignore with
  more universal check based on jiffies clock

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2009-04-10 12:20:45 +02:00
..
hda_beep.c ALSA: hda - Clear codec->beep at release 2009-02-06 16:48:10 +01:00
hda_beep.h ALSA: hda: Add digital beep generator support for Realtek codecs. 2009-02-04 16:17:42 +01:00
hda_codec.c ALSA: hda - Use cached calls to get widget caps and pin caps 2009-03-23 16:36:55 +01:00
hda_codec.h ALSA: hda - Add function id to proc output 2009-03-23 11:55:36 +01:00
hda_eld.c ALSA: hda - fix build warning when CONFIG_PROC_FS=n 2008-11-22 11:16:15 +01:00
hda_generic.c ALSA: hda - Cache pin-cap values 2009-03-23 13:08:33 +01:00
hda_hwdep.c ALSA: hda - power up before codec initialization 2009-03-13 09:06:31 +01:00
hda_intel.c [ALSA] hda_intel: fix unexpected ring buffer positions 2009-04-10 12:20:45 +02:00
hda_local.h ALSA: hda - Cache pin-cap values 2009-03-23 13:08:33 +01:00
hda_proc.c ALSA: hda - Add function id to proc output 2009-03-23 11:55:36 +01:00
Kconfig Merge branch 'topic/hda-modularize' into topic/hda 2008-12-03 14:43:14 +01:00
Makefile ALSA: hda - Modularize HD-audio driver 2008-11-27 15:47:11 +01:00
patch_analog.c ALSA: hda - add missing comma in ad1884_slave_vols 2009-04-07 04:20:04 +02:00
patch_atihdmi.c ALSA: hda - Remove duplicated strings from codec name 2008-12-18 09:17:56 +01:00
patch_cmedia.c ALSA: hda - Remove codec-specific pin save/restore functions 2009-02-20 16:48:40 +01:00
patch_conexant.c ALSA: hda - Print multiple out-amp values of pin widgets on Conext codecs 2009-03-12 17:06:07 +01:00
patch_intelhdmi.c ALSA: hda - add id for Intel IbexPeak integrated HDMI codec 2009-02-11 09:09:15 +01:00
patch_nvhdmi.c ALSA: hda - Add support of NVidia MCP78 HDMI 2009-01-13 12:32:21 +01:00
patch_realtek.c ALSA: hda - enable SPDIF output for Intel DX58SO board 2009-04-06 03:56:51 +02:00
patch_si3054.c ALSA: hda - Modularize HD-audio driver 2008-11-27 15:47:11 +01:00
patch_sigmatel.c ALSA: hda - Add VREF powerdown sequence for another board 2009-04-07 04:26:04 +02:00
patch_via.c ALSA: hda - Remove codec-specific pin save/restore functions 2009-02-20 16:48:40 +01:00