Skip to content
Commit 1b1f98dd authored by 蒋家盛's avatar 蒋家盛 Committed by Takashi Iwai
Browse files

ALSA: intel_hdmi: Check for error num after setting mask



To maintain the consistency of the code, it should be better to add the
sanity check after calling dma_set_mask_and_coherent(), like
tegra_pcm_dma_allocate() in `sound/soc/tegra/tegra_pcm.c`.

Signed-off-by: default avatarJiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220107020851.3095591-1-jiasheng@iscas.ac.cn


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 4b46daf0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment