Merge "msm: mdss: Fix invalid dma attachment during fb shutdown"

This commit is contained in:
Linux Build Service Account 2017-01-03 17:56:54 -08:00 committed by Gerrit - the friendly Code Review server
commit e60e904d4e

View file

@ -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;
}