Merge "msm: mdss: Fix invalid dma attachment during fb shutdown"
This commit is contained in:
commit
e60e904d4e
1 changed files with 4 additions and 0 deletions
|
@ -2098,6 +2098,10 @@ err_put:
|
|||
dma_buf_put(mfd->fbmem_buf);
|
||||
fb_mmap_failed:
|
||||
ion_free(mfd->fb_ion_client, mfd->fb_ion_handle);
|
||||
mfd->fb_attachment = NULL;
|
||||
mfd->fb_table = NULL;
|
||||
mfd->fb_ion_handle = NULL;
|
||||
mfd->fbmem_buf = NULL;
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue