aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2021-12-28 11:40:26 +0800
committerMark Brown <[email protected]>2021-12-29 12:45:46 +0000
commit3ecb46755eb85456b459a1a9f952c52986bce8ec (patch)
treef4dc5eb9ce2f9207ee69d4c9a3162181b110c24b /drivers/usb/cdns3/cdns3-imx.c
parent3667a037e50a31555276a7989435126e501f0f15 (diff)
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions