]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
OMAPFB: remove warning when trying to alloc at certain paddress
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 4 Dec 2012 14:26:09 +0000 (16:26 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 7 Dec 2012 14:55:03 +0000 (16:55 +0200)
commit09a8c45cbb872f5e861c4385d6967d0aa7f637f1
treeae7e1585ceb7437bc11428f63923ba1011930131
parentb41deecbda70067b26a3a7704fdf967a7940935b
OMAPFB: remove warning when trying to alloc at certain paddress

omapfb gives a WARN_ONCE if a predefined physical address is given for
allocating the framebuffer memory, as this is not currently supported.

However, the same warning happens if omapfb fails to allocate memory
during runtime, as when the allocation has failed, omapfb tries to
re-allocate the old memory with the physical address of the old memory
area.

Remove the warning from omapfb_alloc_fbmem, as it serves no purpose on
the failure case above, and move it to omapfb_parse_vram_param, so that
we only warn if physical address is given via omapfb module parameters.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/omapfb/omapfb-main.c