OpenCloudOS-Kernel/drivers/staging/fbtft
Stefan Wahren dd3afa57c5 staging: fbtft: replace master->setup() with spi_setup()
Calling the setup of the SPI master directly causes a NULL pointer
dereference with master drivers without a separate setup function.
This problem is reproduceable on ARM MXS platform.

So fix this issue by using spi_setup() instead.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-13 09:33:58 -07:00
..
Kconfig staging: fbtft: Allow compile test of GPIO consumers if !GPIOLIB 2015-08-03 17:45:02 -07:00
Makefile Staging: fbtft: Add support for the Ultrachip UC1611 LCD controller 2015-07-14 19:17:50 -07:00
README Staging: fbtft: remove trailing whitespace 2015-02-26 13:11:27 -08:00
fb_agm1264k-fl.c staging: fbtft: replace fbtft_dev_dbg with standard dev_dbg call 2015-06-08 13:21:37 -07:00
fb_bd663474.c staging: fbtft: fix spacing errors 2015-02-24 15:31:15 -08:00
fb_hx8340bn.c staging: fbtft: Fix typo in fbtft 2015-03-26 13:07:29 +01:00
fb_hx8347d.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_hx8353d.c staging: fbtft: Fix typo in fbtft 2015-03-26 13:07:29 +01:00
fb_hx8357d.c staging: fbtft: Add support for Himax HX8357D controller 2015-06-01 06:26:30 +09:00
fb_hx8357d.h staging: fbtft: Add support for Himax HX8357D controller 2015-06-01 06:26:30 +09:00
fb_ili9163.c staging: fbtft: Add support for ili9163 controller 2015-03-26 13:06:54 +01:00
fb_ili9320.c staging: fbtft: correct a typo in a comment 2015-06-13 14:50:11 -07:00
fb_ili9325.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_ili9340.c staging: fbtft: Fix typo in fbtft 2015-03-26 13:07:29 +01:00
fb_ili9341.c staging: fbtft: Fix typo in fbtft 2015-03-26 13:07:29 +01:00
fb_ili9481.c staging: fbtft: Fix typo in fbtft 2015-03-26 13:07:29 +01:00
fb_ili9486.c staging: fbtft: Fix typo in fbtft 2015-03-26 13:07:29 +01:00
fb_pcd8544.c Staging: fbtft: fb_pcd8544: Fix comments style 2015-03-26 13:06:54 +01:00
fb_ra8875.c staging: fbtft: split long strings 2015-06-13 14:48:26 -07:00
fb_s6d02a1.c staging: fbtft: Fix typo in fbtft 2015-03-26 13:07:29 +01:00
fb_s6d1121.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_ssd1289.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_ssd1306.c Staging: fbtft: clean dev_err() logging 2015-03-06 15:55:36 -08:00
fb_ssd1331.c Staging: fbtft: clean dev_err() logging 2015-03-06 15:55:36 -08:00
fb_ssd1351.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fb_st7735r.c staging: fbtft: Replace spaces to tab 2015-04-30 16:39:44 +02:00
fb_tinylcd.c staging: fbtft: replace spaces with tabs 2015-06-13 14:48:26 -07:00
fb_tls8204.c staging: fbtft: split long strings 2015-06-13 14:48:26 -07:00
fb_uc1611.c staging: fbtft: replace master->setup() with spi_setup() 2015-09-13 09:33:58 -07:00
fb_uc1701.c Staging: fbtft: clean dev_err() logging 2015-03-06 15:55:36 -08:00
fb_upd161704.c Staging: fbtft: fix space errors 2015-03-01 17:14:40 -08:00
fb_watterott.c staging: fbtft: replace master->setup() with spi_setup() 2015-09-13 09:33:58 -07:00
fbtft-bus.c drivers: staging: fbtft: fbtft-bus.c: Fix different address space warning on I/O mem 2015-05-08 09:23:58 +02:00
fbtft-core.c staging: fbtft: fix 9-bit SPI support detection 2015-09-13 09:33:58 -07:00
fbtft-io.c staging: fbtft: fbtft-io.c: remove extra parentheses around function arguments 2015-03-15 18:41:13 +01:00
fbtft-sysfs.c staging: fbtft: Do not use binary constants 2015-03-24 23:06:56 +01:00
fbtft.h staging: fbtft: Remove unnecessary externs 2015-08-14 18:51:56 -07:00
fbtft_device.c Staging: fbtft: Add support for the Ultrachip UC1611 LCD controller 2015-07-14 19:17:50 -07:00
flexfb.c staging: fbtft: fix 9-bit SPI support detection 2015-09-13 09:33:58 -07:00
internal.h Staging: fbtft: fix header guard typo 2015-04-30 16:51:21 +02:00

README

  FBTFT
=========

Linux Framebuffer drivers for small TFT LCD display modules.
The module 'fbtft' makes writing drivers for some of these displays very easy.

Development is done on a Raspberry Pi running the Raspbian "wheezy" distribution.

INSTALLATION
  Download kernel sources

  From Linux 3.15
    cd drivers/video/fbdev/fbtft
    git clone https://github.com/notro/fbtft.git

    Add to drivers/video/fbdev/Kconfig:   source "drivers/video/fbdev/fbtft/Kconfig"
    Add to drivers/video/fbdev/Makefile:  obj-y += fbtft/

  Before Linux 3.15
    cd drivers/video
    git clone https://github.com/notro/fbtft.git

    Add to drivers/video/Kconfig:   source "drivers/video/fbtft/Kconfig"
    Add to drivers/video/Makefile:  obj-y += fbtft/

  Enable driver(s) in menuconfig and build the kernel


See wiki for more information: https://github.com/notro/fbtft/wiki


Source: https://github.com/notro/fbtft/