]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dsp: don't use registered_fb[1]
authorArnaud Patard <arnaud.patard@rtp-net.org>
Wed, 31 Jan 2007 18:39:39 +0000 (10:39 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Jan 2007 18:39:39 +0000 (10:39 -0800)
commitebaed00f41c11ca69b9960dfa68b28d860af49fc
treebb01cae5c77ef0ffa6ce30f68efb1ad44f75498c
parent3896fcac80245f3356d30f05c33f6b18090eb184
dsp: don't use registered_fb[1]

According to dsp_fbexport(), the dsp code handles only the first
registered framebuffer, so using registered_fb[1] in mbox_fbctl_upd is
wrong. registered_fb[0] must be used instead.
This code has also the side effect to oops the kernel as
registered_fb[1] is null and omapfb_update_window_async doesn't handle
this case. The fix for omapfb_update_window_async is sent in an other
mail.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dsp/dsp_mem.c