Home
last modified time | relevance | path

Searched hist:"3 ecb46755eb85456b459a1a9f952c52986bce8ec" (Results 1 – 1 of 1) sorted by relevance

/linux/sound/soc/samsung/
H A Didma.cdiff 3ecb46755eb85456b459a1a9f952c52986bce8ec Tue Dec 28 04:40:26 CET 2021 Jiasheng Jiang <jiasheng@iscas.ac.cn> ASoC: samsung: idma: Check of ioremap return value

Because of the potential failure of the ioremap(), the buf->area could
be NULL.
Therefore, we need to check it and return -ENOMEM in order to transfer
the error.

Fixes: f09aecd50f39 ("ASoC: SAMSUNG: Add I2S0 internal dma driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20211228034026.1659385-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>