diff options
author | Christophe JAILLET <[email protected]> | 2022-03-06 19:08:07 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-05-13 09:13:17 +0200 |
commit | 310fda622bbd38be17fb444f7f049b137af3bc0d (patch) | |
tree | d2ce1e76a1155ce8a6a34aaa86e8b585368fac20 /tools/perf/scripts/python | |
parent | a5e9e202fe4c25ab6c57061d009a17a2369355bc (diff) |
media: aspeed: Fix an error handling path in aspeed_video_probe()
A dma_free_coherent() call is missing in the error handling path of the
probe, as already done in the remove function.
In fact, this call is included in aspeed_video_free_buf(). So use the
latter both in the error handling path of the probe and in the remove
function.
It is easier to see the relation with aspeed_video_alloc_buf() this way.
Fixes: d2b4387f3bdf ("media: platform: Add Aspeed Video Engine driver")
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions