Commit 66cb7c4a authored by Imre Deak's avatar Imre Deak Committed by Tony Lindgren

ARM: OMAP: HWA742: fix capability query callback

This was changed in the generic FB code, but not updated in the HWA742
specific part.
Signed-off-by: default avatarImre Deak <imre.deak@solidboot.com>
parent 0bd8dc71
......@@ -893,14 +893,15 @@ static int setup_tearsync(unsigned long pix_clk, int extif_div)
hs_pol_inv, vs_pol_inv, extif_div);
}
static unsigned long hwa742_get_caps(void)
static void hwa742_get_caps(int plane, struct omapfb_caps *caps)
{
unsigned long caps;
caps = OMAPFB_CAPS_MANUAL_UPDATE;
hwa742.int_ctrl->get_caps(plane, caps);
caps->ctrl |= OMAPFB_CAPS_MANUAL_UPDATE |
OMAPFB_CAPS_WINDOW_PIXEL_DOUBLE;
if (hwa742.te_connected)
caps |= OMAPFB_CAPS_TEARSYNC;
return caps;
caps->ctrl |= OMAPFB_CAPS_TEARSYNC;
caps->wnd_color |= (1 << OMAPFB_COLOR_RGB565) |
(1 << OMAPFB_COLOR_YUV420);
}
static void hwa742_suspend(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment