diff options
author | 2022-01-06 11:03:26 +0800 | |
---|---|---|
committer | 2022-01-12 15:49:55 +0000 | |
commit | 44ab30b056149bd59dd7989a593dd25ead6007fd (patch) | |
tree | fc292b8b97c6bb71707e1415a37eea863b767275 /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | |
parent | video: vga16fb: Fix logic that checks for the display standard (diff) | |
download | wireguard-linux-44ab30b056149bd59dd7989a593dd25ead6007fd.tar.xz wireguard-linux-44ab30b056149bd59dd7989a593dd25ead6007fd.zip |
drm/panfrost: Check for error num after setting mask
Because of the possible failure of the dma_supported(), the
dma_set_mask_and_coherent() may return error num.
Therefore, it should be better to check it and return the error if
fails.
Fixes: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
[Steve: fix Fixes: line]
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220106030326.2620942-1-jiasheng@iscas.ac.cn
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c')
0 files changed, 0 insertions, 0 deletions