fbdev: bfin-t350mcqb-fb: fix fbmem allocation with blanking lines
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 11 May 2010 21:07:00 +0000 (14:07 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 26 May 2010 21:32:03 +0000 (14:32 -0700)
commitcd3ebf63d7c4ea3e708d9f61b7e2c92d1b2321c1
treefd2c663b2ef24182adb3992966ab2fe0f4152e88
parent1a4dd9753e578e650bcbf6a425a4f386a97e3e9b
fbdev: bfin-t350mcqb-fb: fix fbmem allocation with blanking lines

commit de145b44b95b9d3212a82d1c0f29b09778ef33c5 upstream.

The current allocation does not include the memory required for blanking
lines.  So avoid memory corruption when multiple devices are using the DMA
memory near each other.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/video/bfin-t350mcqb-fb.c