mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 17:41:50 +00:00
ALSA: hda/tegra: Align BDL entry to 4KB boundary
[ Upstream commit 8d44e6044a
]
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>
This commit is contained in:
parent
78ead6c689
commit
3dff4e6d9f
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue