]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: hda/tegra: Set buffer alignment to 128 bytes
authorMohan Kumar <mkumard@nvidia.com>
Wed, 5 Aug 2020 09:52:19 +0000 (15:22 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 5 Aug 2020 10:27:35 +0000 (12:27 +0200)
commitbbf802391d03e3d72763d3f4b73d1ab64cdcab70
tree7f85bb3c6604ec5e48ffb10006d71c2f3f16831a
parentb3fc3b08d81e1021c23e843a1b855f8a9bea18ea
ASoC: hda/tegra: Set buffer alignment to 128 bytes

Set chip->align_buffer_size to 1 for Tegra platforms to make the buffer
alignment to be multiple of 128 bytes. This fix is applied as gstreamer
alsasink gets stuck with the default buffer-time and latency-time
parameters with 4 byte buffer alignment.

Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Link: https://lore.kernel.org/r/20200805095221.5476-2-mkumard@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_tegra.c