diff options
| author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2021-12-06 05:22:01 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-12-14 18:19:04 +0300 |
| commit | 43f0633f89947df57fe0b5025bdd741768007708 (patch) | |
| tree | bd60aba85986a73a97b60b5d3f28447b6093876d /lib/mpi/mpi-cmp.c | |
| parent | e0471a623c86f698ac2e7c9a4af6c53d9040e514 (diff) | |
| download | linux-43f0633f89947df57fe0b5025bdd741768007708.tar.xz | |
media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes
The return value of dma_set_coherent_mask() is not always 0.
To catch the exception in case that dma is not support the mask.
Link: https://lore.kernel.org/linux-media/20211206022201.1639460-1-jiasheng@iscas.ac.cn
Fixes: b0444f18e0b1 ("[media] coda: add i.MX6 VDOA driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
