projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d25aaf
)
ALSA: hda/tegra: Align BDL entry to 4KB boundary
author
Mohan Kumar
<mkumard@nvidia.com>
Mon, 5 Sep 2022 17:24:20 +0000
(22:54 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 23 Sep 2022 12:15:50 +0000
(14:15 +0200)
[ Upstream commit
8d44e6044a0e885acdd01813768a0b27906d64fd
]
AZA HW may send a burst read/write request crossing 4K memory boundary.
The 4KB boundary is not guaranteed by Tegra HDA HW. Make SW change to
include the flag AZX_DCAPS_4K_BDLE_BOUNDARY to align BDLE to 4K
boundary.
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Link:
https://lore.kernel.org/r/20220905172420.3801-1-mkumard@nvidia.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/hda_tegra.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_tegra.c
b/sound/pci/hda/hda_tegra.c
index 773f4903550a06fac79a7c829f88b9a2f1e23f94..f0e556f2ccf69c61d60c613108e19415f315023e 100644
(file)
--- a/
sound/pci/hda/hda_tegra.c
+++ b/
sound/pci/hda/hda_tegra.c
@@
-451,7
+451,8
@@
MODULE_DEVICE_TABLE(of, hda_tegra_match);
static int hda_tegra_probe(struct platform_device *pdev)
{
const unsigned int driver_flags = AZX_DCAPS_CORBRP_SELF_CLEAR |
- AZX_DCAPS_PM_RUNTIME;
+ AZX_DCAPS_PM_RUNTIME |
+ AZX_DCAPS_4K_BDLE_BOUNDARY;
struct snd_card *card;
struct azx *chip;
struct hda_tegra *hda;