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:29:14 +0000 (14:29 -0700)
commitec9dd41fc73ca85b0afb21ce4bbf563afeb08d6d
tree1c8af6387aacd4086d08a9fd70261477045aef74
parent7b7be5f379bd001c86372c2e042cb7779c4f0a06
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