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

From: Takashi Iwai
Date: Fri Jan 07 2022 - 02:26:30 EST


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@xxxxxxxxxxx>

Thanks, applied now.


Takashi