[PATCH] staging: omapdrm: fix crash when freeing bad fb

2012-05-24 Thread Andy Gross
During unload, don't cleanup the framebuffer if it is not valid. Signed-off-by: Andy Gross andy.gr...@ti.com --- drivers/staging/omapdrm/omap_fbdev.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/staging/omapdrm/omap_fbdev.c

Re: [PATCH] staging: omapdrm: fix crash when freeing bad fb

2012-05-24 Thread Rob Clark
On Thu, May 24, 2012 at 10:44 AM, Andy Gross andy.gr...@ti.com wrote: During unload, don't cleanup the framebuffer if it is not valid. Signed-off-by: Andy Gross andy.gr...@ti.com Reviewed-by: Rob Clark rob.cl...@linaro.org ---  drivers/staging/omapdrm/omap_fbdev.c |   10 +++---  1

Re: [PATCH] staging: omapdrm: fix crash when freeing bad fb

2012-05-24 Thread Rob Clark
On Thu, May 24, 2012 at 10:44 AM, Andy Gross andy.gr...@ti.com wrote: During unload, don't cleanup the framebuffer if it is not valid. Signed-off-by: Andy Gross andy.gr...@ti.com Reviewed-by: Rob Clark rob.cl...@linaro.org ---  drivers/staging/omapdrm/omap_fbdev.c |   10 +++---  1