]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ASoC: nau8825: Disable short Frame Sync detection logic
authorJohn Hsu <KCHSU0@nuvoton.com>
Fri, 11 Nov 2016 04:34:12 +0000 (12:34 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 11 Nov 2016 15:35:39 +0000 (15:35 +0000)
commit93dfec758ff2d0292be35cafd239e929a8973b73
tree7872e4f3904f1a457d91cf603a88592e458db79e
parent1001354ca34179f3db924eb66672442a173147dc
ASoC: nau8825: Disable short Frame Sync detection logic

If the short Frame Sync detection logic enabled, the logic will check the
short frame sync threshold. If frame sync is less than the setting;
for example, frame sync less than 252 MCLK, the short frame sync signal is
flagged, digital filter temporary mute and skip that data.

If the system was intended for sampling rate change which could create
temporary short frame sync and not enough MIPS to run the digital filter.
But the situation doesn't happen in ALSA architecure. Thus the Frame Sync
is always stable, then no require to do the detection. Therefore,
the dirver disables the function for better performance.

Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8825.c
sound/soc/codecs/nau8825.h