[brcm63xx] resync kernel configuration
[openwrt.git] / target / linux / s3c24xx / patches-2.6.26 / 1119-fix-gta01-spi-resume-patch.patch
1 From 6491a55deecc0ca16e86cc1c2edf76b72b4432d8 Mon Sep 17 00:00:00 2001
2 From: Mike Wester <mwester@dis.net>
3 Date: Fri, 25 Jul 2008 23:06:06 +0100
4 Subject: [PATCH] fix-gta01-spi-resume-patch
5
6 Patch to register the SPI device and thus the save/resume for the display
7
8 This patch does *NOT* resolve this problem, but it does make things a bit
9 better. The SPI device name changed with 2.6.24, and the change was made for
10 the gta02 but never propagated to the gta01. With this change, you'll now see
11 the entries for the spi bus and the display controller in /sys; and the display
12 controller suspend/resume functions will be called.
13
14 (via BZ 79)
15
16 Signed-off-by: Mike Wester <mwester@dis.net>
17 ---
18 arch/arm/mach-s3c2410/mach-gta01.c | 3 ++-
19 1 files changed, 2 insertions(+), 1 deletions(-)
20
21 diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
22 index a4384b6..ff08449 100644
23 --- a/arch/arm/mach-s3c2410/mach-gta01.c
24 +++ b/arch/arm/mach-s3c2410/mach-gta01.c
25 @@ -530,6 +530,7 @@ static struct s3c2410_spigpio_info spi_gpio_cfg = {
26 .board_size = ARRAY_SIZE(gta01_spi_board_info),
27 .board_info = gta01_spi_board_info,
28 .chip_select = &spi_gpio_cs,
29 + .num_chipselect = 2, /*** Should be 1 or 2 for gta01? ***/
30 };
31
32 static struct resource s3c_spi_lcm_resource[] = {
33 @@ -552,7 +553,7 @@ static struct resource s3c_spi_lcm_resource[] = {
34 };
35
36 struct platform_device s3c_device_spi_lcm = {
37 - .name = "s3c24xx-spi-gpio",
38 + .name = "spi_s3c24xx_gpio",
39 .id = 1,
40 .num_resources = ARRAY_SIZE(s3c_spi_lcm_resource),
41 .resource = s3c_spi_lcm_resource,
42 --
43 1.5.6.3
44
This page took 0.056862 seconds and 5 git commands to generate.