mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
Merge "gunyah: secure_vm_loader: Don't release the memory when VM load fail"
This commit is contained in:
commit
f337b0a0ee
|
|
@ -255,8 +255,6 @@ static int gh_sec_vm_loader_load_fw(struct gh_sec_vm_dev *vm_dev,
|
|||
if (ret) {
|
||||
dev_err(dev, "Loading Secure VM %s failed %d\n",
|
||||
vm_dev->vm_name, ret);
|
||||
if (!vm_dev->is_static)
|
||||
dma_free_coherent(dev, vm_dev->fw_size, virt, dma_handle);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user