From: Arnaud Patard Date: Wed, 31 Jan 2007 18:39:39 +0000 (-0800) Subject: dsp: don't use registered_fb[1] X-Git-Tag: v2.6.21-omap1~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebaed00f41c11ca69b9960dfa68b28d860af49fc;p=pandora-kernel.git 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 Acked-by: Hiroshi DOYU Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed