OrangePi_CM5/sound/soc/samsung
Jiasheng Jiang 696a50abbc ASoC: samsung: idma: Check of ioremap return value
[ Upstream commit 3ecb46755eb85456b459a1a9f952c52986bce8ec ]

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: f09aecd50f ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 10:54:08 +01:00
..
Kconfig
…
Makefile
…
aries_wm8994.c
…
arndale.c
…
bells.c
…
dma.h
…
dmaengine.c
…
h1940_uda1380.c
…
i2s-regs.h
…
i2s.c
…
i2s.h
…
idma.c
…
idma.h
…
jive_wm8750.c
…
littlemill.c
…
lowland.c
…
midas_wm1811.c
…
neo1973_wm8753.c
…
odroid.c
…
pcm.c
…
pcm.h
…
regs-i2s-v2.h
…
regs-iis.h
…
rx1950_uda1380.c
…
s3c-i2s-v2.c
…
s3c-i2s-v2.h
…
s3c24xx-i2s.c
…
s3c24xx-i2s.h
…
s3c24xx_simtec.c
…
s3c24xx_simtec.h
…
s3c24xx_simtec_hermes.c
…
s3c24xx_simtec_tlv320aic23.c
…
s3c24xx_uda134x.c
…
s3c2412-i2s.c
…
s3c2412-i2s.h
…
smartq_wm8987.c
…
smdk_spdif.c
…
smdk_wm8580.c
…
smdk_wm8994.c
…
smdk_wm8994pcm.c
…
snow.c
…
spdif.c
…
spdif.h
…
speyside.c
…
tm2_wm5110.c
…
tobermory.c
…