[brcm63xx] resync kernel configuration
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1125-fix-gta01-spi-resume-patch.patch
1 From f8759e3c3b99e15d4b182e3240d0990590e6cc36 Mon Sep 17 00:00:00 2001
2 From: Mike Wester <mwester@dis.net>
3 Date: Sun, 13 Apr 2008 07:25:57 +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 8c1a402..a948311 100644
23 --- a/arch/arm/mach-s3c2410/mach-gta01.c
24 +++ b/arch/arm/mach-s3c2410/mach-gta01.c
25 @@ -529,6 +529,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 @@ -551,7 +552,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.5
44
This page took 0.045558 seconds and 5 git commands to generate.