linux/drivers/staging/panel
Sudip Mukherjee 0ce1fbc1bf staging: panel: fix lcd type
commit 2c20d92dad upstream.

the lcd type as defined in the Kconfig is not matching in the code.
as a result the rs, rw and en pins were getting interchanged.
Kconfig defines the value of PANEL_LCD to be 1 if we select custom
configuration but in the code LCD_TYPE_CUSTOM is defined as 5.

my hardware is LCD_TYPE_CUSTOM, but the pins were assigned to it
as pins of LCD_TYPE_OLD, and it was not working.
Now values are corrected with referenece to the values defined in
Kconfig and it is working.
checked on JHD204A lcd with LCD_TYPE_CUSTOM configuration.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Acked-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[ luis: backported to 3.16: adjusted context ]
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2015-05-05 11:09:34 +01:00
..
Kconfig Staging: panel: Adjust range for PANEL_KEYPAD in Kconfig 2009-12-23 11:27:49 -08:00
lcd-panel-cgram.txt trivial: Miscellaneous documentation typo fixes 2009-06-12 18:01:47 +02:00
Makefile Staging: add lcd-panel driver 2009-01-06 13:52:29 -08:00
panel.c staging: panel: fix lcd type 2015-05-05 11:09:34 +01:00
TODO Staging: add lcd-panel driver 2009-01-06 13:52:29 -08:00