[PATCH] dmaengine: mediatek: Return the correct errno code

Chen-Yu Tsai wenst at chromium.org
Sun Jun 20 22:52:44 PDT 2021


On Thu, Jun 17, 2021 at 9:35 PM angkery <angkery at 163.com> wrote:
>
> From: Junlin Yang <yangjunlin at yulong.com>
>
> When devm_kzalloc failed, should return ENOMEM rather than ENODEV.
>
> Signed-off-by: Junlin Yang <yangjunlin at yulong.com>

Please add proper fixes tags:

Fixes: 9135408c3ace ("dmaengine: mediatek: Add MediaTek UART APDMA support")



More information about the Linux-mediatek mailing list