23 Aug, 2007

1 commit

  • This one-liner patch fixes a bug in drivers/auxdisplay/cfag12864b.c

    At cfag12864b_init(), the driver tries to kalloc some memory in the
    variable cfag12864b_cache.

    Then, as usual, it checks if the call failed. However, it checks
    cfag12864b_buffer instead.

    This patch changes the "cfag12864b_buffer" to "cfag12864b_cache" so the
    correct variable is checked.

    Signed-off-by: Miguel Ojeda
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miguel Ojeda
     

19 Aug, 2007

1 commit


17 Jul, 2007

1 commit

  • Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
    so that the user can disable all the options in that menu at once
    instead of having to disable each option separately.

    Signed-off-by: Jan Engelhardt
    Acked-by: Miguel Ojeda Sandonis
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Engelhardt
     

01 Jun, 2007

1 commit

  • Because the framebuffer memory is allocated system RAM, use the sys_ drawing
    libraries. It also fixes the following compile error:

    LD .tmp_vmlinux1
    drivers/built-in.o:(.data+0x8b48): undefined reference to `cfb_fillrect'
    drivers/built-in.o:(.data+0x8b50): undefined reference to `cfb_copyarea'
    drivers/built-in.o:(.data+0x8b58): undefined reference to `cfb_imageblit'

    [adaplas]
    Use fb_sys_read/write for the same reasons as above.

    Signed-off-by: Avuton Olrich
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Avuton Olrich
     

10 May, 2007

1 commit


21 Feb, 2007

1 commit

  • The problem comes when ks0108/cfag12864b are built-in and no parallel port is
    present. ks0108_init() is called first, as it should be, but fails to load
    (as there is no parallel port to use).

    After that, cfag12864b_init() gets called, without knowing anything about
    ks0108 failed, and calls ks0108_writecontrol(), which dereferences an
    uninitialized pointer.

    Init order is OK, I think. The problem is how to stop cfag12864b_init() being
    called if ks0108 failed to load. modprobe does it for us, but, how when
    built-in?

    Signed-off-by: Miguel Ojeda Sandonis
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miguel Ojeda
     

12 Feb, 2007

1 commit

  • Add support for auxiliary displays, the ks0108 LCD controller, the
    cfag12864b LCD and adds a framebuffer device: cfag12864bfb.

    - Add a "auxdisplay/" folder in "drivers/" for auxiliary display
    drivers.

    - Add support for the ks0108 LCD Controller as a device driver. (uses
    parport interface)

    - Add support for the cfag12864b LCD as a device driver. (uses ks0108
    LCD Controller driver)

    - Add a framebuffer device called cfag12864bfb. (uses cfag12864b LCD
    driver)

    - Add the usual Documentation, includes, Makefiles, Kconfigs,
    MAINTAINERS, CREDITS...

    - Miguel Ojeda will maintain all the stuff above.

    [rdunlap@xenotime.net: workqueue fixups]
    [akpm@osdl.org: kconfig fix]
    Signed-off-by: Miguel Ojeda Sandonis
    Cc: Greg KH
    Acked-by: Paulo Marques
    Cc: "Randy.Dunlap"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miguel Ojeda Sandonis