notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.84k stars 495 forks source link

fix a bug when using ili9225 #559

Closed fungaren closed 2 years ago

fungaren commented 3 years ago

Hi erveryone, according to this article, in flexfb.c, this code:

        } else if (!strcmp(chip, "ili9225")) {
            if (!width)
                width = 176;
            if (!height)
                height = 220;
            setaddrwin = 0;
            regwidth = 16;
            if (init_num == 0) {
                initp = ili9225_init;
                initp_num = ARRAY_SIZE(ili9225_init);
            }

setaddrwin = 0; should be replaced by setaddrwin = 1;

I hope this information can help someone.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.