Re: [PATCH] pxa168fb: fix release function mismatch in probe failure

2020-01-15 Thread Bartlomiej Zolnierkiewicz
On 12/5/19 5:06 PM, Chuhong Yuan wrote: > The driver uses kfree() to release the resource allocated by > framebuffer_alloc(), which does not match. > Use framebuffer_release() instead to fix it. For pxa168fb driver framebuffer_release() does only kfree() so there is no real breakage currently. L

[PATCH] pxa168fb: fix release function mismatch in probe failure

2019-12-06 Thread Chuhong Yuan
The driver uses kfree() to release the resource allocated by framebuffer_alloc(), which does not match. Use framebuffer_release() instead to fix it. Fixes: 638772c7553f ("fb: add support of LCD display controller on pxa168/910 (base layer)") Signed-off-by: Chuhong Yuan --- drivers/video/fbdev/p