commit | 1b1f98dd70dcfd25476adabcbe72484312e879f7 | [log] [tgz] |
---|---|---|
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | Fri Jan 07 10:08:51 2022 +0800 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Jan 07 08:25:32 2022 +0100 |
tree | 1c66c7283b7a53ca6fad4d8cbd36f77ad35cf979 | |
parent | 4b46daf028e2f4a051047791b8a3bfc9bc37d684 [diff] |
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: Jiasheng Jiang <jiasheng@iscas.ac.cn> Link: https://lore.kernel.org/r/20220107020851.3095591-1-jiasheng@iscas.ac.cn Signed-off-by: Takashi Iwai <tiwai@suse.de>