sh: free-without-alloc fix for sh_mobile_lcdcfb
authorMagnus Damm <damm@opensource.se>
Wed, 13 Oct 2010 07:17:45 +0000 (07:17 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 Oct 2010 10:16:44 +0000 (19:16 +0900)
commit1ffbb037d8e81ba4f09901451b39c8f178b05559
treeb26afedd31b6805087e3fdd054208454b8d3708e
parent51c6c9bb34fcd112d4ab8b8f5c1d1b6a10a00e71
sh: free-without-alloc fix for sh_mobile_lcdcfb

Without this fix the LCDC driver will try to free
framebuffer memory even though the allocation failed.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_lcdcfb.c