Skip to content

Commit 8d44e60

Browse files
mkumardtiwai
authored andcommitted
ALSA: hda/tegra: Align BDL entry to 4KB boundary
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 51bdc8b commit 8d44e60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sound/pci/hda/hda_tegra.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ MODULE_DEVICE_TABLE(of, hda_tegra_match);
474474
static int hda_tegra_probe(struct platform_device *pdev)
475475
{
476476
const unsigned int driver_flags = AZX_DCAPS_CORBRP_SELF_CLEAR |
477-
AZX_DCAPS_PM_RUNTIME;
477+
AZX_DCAPS_PM_RUNTIME |
478+
AZX_DCAPS_4K_BDLE_BOUNDARY;
478479
struct snd_card *card;
479480
struct azx *chip;
480481
struct hda_tegra *hda;

0 commit comments

Comments
 (0)