Change-Id: Ide1f24ad8b6e6348df9ea5b1902116a2dc6ecae3
struct ge2d_context_s *context = ge2d_context;
#ifdef CONFIG_AMLOGIC_MEDIA_CANVAS
- if (!osd_hw.osd_meson_dev.osd_ver == OSD_SIMPLE) {
+ if (osd_hw.osd_meson_dev.osd_ver != OSD_SIMPLE) {
canvas_read(OSD1_CANVAS_INDEX, &cs);
cs_addr = cs.addr;
cs_width = cs.width;
static void osd_debug_auto_test(void)
{
- if (!osd_hw.osd_meson_dev.osd_ver == OSD_SIMPLE)
+ if (osd_hw.osd_meson_dev.osd_ver != OSD_SIMPLE)
osd_test_colorbar();
osd_test_dummydata();