aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-05-26 09:59:57 +0200
committerHans Verkuil <[email protected]>2024-05-28 08:00:14 +0200
commitab0ed481012811fed052f609b364c118ce8a576e (patch)
tree5f0330565ed01acf8024daf9cb94f8622093f4f7 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parent266b44ec9a26dd2ad5d1dfcbb2f7f4e2c10da3fb (diff)
media: intel/ipu6: Fix an error handling path in isys_probe()
If an error occurs after a successful alloc_fw_msg_bufs() call, some resources should be released as already done in the remove function. Add a new free_fw_msg_bufs() function that releases what has been allocated by alloc_fw_msg_bufs(). Also use this new function in isys_remove() to avoid some code duplication. Fixes: f50c4ca0a820 ("media: intel/ipu6: add the main input system driver") Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions