[PATCH v3] ALSA: intel_hdmi: Check for error num after setting mask

Takashi Iwai tiwai at suse.de
Fri Jan 7 08:26:23 CET 2022


On Fri, 07 Jan 2022 03:08:51 +0100,
Jiasheng Jiang wrote:
> 
> 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 at iscas.ac.cn>

Thanks, applied now.


Takashi


More information about the Alsa-devel mailing list