WSL2-Linux-Kernel/sound/pci/hda
Takashi Iwai e8648e5e33 ALSA: hda - Ignore small negative LPIB delay correction
Sometimes the hardware reports LPIB being advanced than POSBUF.
When this happens, the driver adjusts to a positive value by adding
the buffer size.  Then the driver detects it as an error (greater than
the period size), and stops the LPIB delay account from this point
on.

When I took a close look at these conditions, the values shown are all
very small numbers, and it'd be better to just ignore these values
instead of discontinuing the LPIB delay correction.

In this patch, the driver checks a negative delay value and ignores if
it's a significantly small error.  Currently the threshold is set to
64 frames, but could be smaller.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-12-06 17:28:49 +01:00
..
Kconfig ALSA: hda - Select FW_LOADER from CONFIG_SND_HDA_CODEC_CA0132_DSP 2013-11-18 17:12:34 +01:00
Makefile ALSA: hda - Split the generic parser as an individual module 2013-11-26 13:42:38 +01:00
ca0132_regs.h ALSA: hda/ca0132 - Fix type of INVALID_CHIP_ADDRESS 2013-02-12 10:15:15 +01:00
hda_auto_parser.c ALSA: hda - Fix possible NULL dereference in snd_hda_get_pin_label() 2013-10-29 11:37:19 +01:00
hda_auto_parser.h ALSA: hda - add some small convenience functions to auto parser 2013-04-11 11:59:27 +02:00
hda_beep.c ALSA: hda - Add a fallthru comment 2013-10-29 11:37:23 +01:00
hda_beep.h ALSA: hda - Fix power-saving during playing beep sound 2013-03-18 12:58:47 +01:00
hda_codec.c ALSA: hda - Clean up async codec PM using standard async infrastructure 2013-12-06 08:51:51 +01:00
hda_codec.h ALSA: hda - Clean up async codec PM using standard async infrastructure 2013-12-06 08:51:51 +01:00
hda_eld.c ALSA: hda - hdmi: Fix wrong baseline length in ATI/AMD generated ELD 2013-11-11 17:08:39 +01:00
hda_generic.c ALSA: hda - Add missing initialization of aamix paths 2013-12-06 17:10:32 +01:00
hda_generic.h ALSA: hda - Introduce the bitmask for excluding output volume 2013-11-05 07:49:41 +01:00
hda_hwdep.c ALSA: replace strict_strto*() with kstrto*() 2013-07-21 11:56:18 +02:00
hda_i915.c ALSA: hda - Add power-welll support for haswell HDA 2013-06-06 17:31:56 +02:00
hda_i915.h ALSA: hda - Add power-welll support for haswell HDA 2013-06-06 17:31:56 +02:00
hda_intel.c ALSA: hda - Ignore small negative LPIB delay correction 2013-12-06 17:28:49 +01:00
hda_intel_trace.h ALSA: hda - Add tracepoints to HD-audio controller driver 2012-10-30 10:39:59 +01:00
hda_jack.c ALSA: hda - Add a block_report flag to jacks 2013-11-07 14:03:17 +01:00
hda_jack.h ALSA: hda - Add a block_report flag to jacks 2013-11-07 14:03:17 +01:00
hda_local.h ALSA: hda - Bind with HDMI codec parser automatically 2013-11-26 13:42:38 +01:00
hda_proc.c ALSA: hda - add device list & select info of display pins to codec proc file 2013-08-27 12:15:17 +02:00
hda_trace.h ALSA: hda - Clean up CONFIG_SND_HDA_POWER_SAVE 2012-08-30 07:50:13 -07:00
patch_analog.c ALSA: hda - Fix bad EAPD setup for HP machines with AD1984A 2013-12-02 13:23:39 +01:00
patch_ca0110.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_ca0132.c ALSA: hda/ca0132: Staticize codec_send_command 2013-09-13 14:36:32 +02:00
patch_cirrus.c ALSA: hda - Control SPDIF out pin on MacBookPro 11,2 2013-11-11 16:22:04 +01:00
patch_cmedia.c ALSA: hda - Remove superfluous header inclusions 2013-01-21 16:10:56 +01:00
patch_conexant.c ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec 2013-11-27 08:52:37 +01:00
patch_hdmi.c ALSA: hda - skip depop delay before D3 for Haswell and Valleyview2 display codec 2013-12-06 08:53:08 +01:00
patch_realtek.c ALSA: hda - fixup ALC262 to skip depop delay before D3 on Intel BayleyBay 2013-12-03 11:35:43 +01:00
patch_si3054.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_sigmatel.c ALSA: hda - Drop bus->avoid_link_reset flag 2013-11-26 13:40:14 +01:00
patch_via.c ALSA: hda - Clearing jackpoll_interval avoid pending work 2013-07-29 14:19:03 +02:00