OMAP: Make OMAP LDP boot succussfuly
Subsystems (6)
cover OMAP: Make OMAP LDP boot succussfuly
Now there is only basic support for OMAP LDP in linux-omap-2.6, LDP can't boot up, even crash at boot time(because of omap_hdq problem).
Add the following patches to fix the boot crash and let LDP boot succussfuly.
PATCH 1/3 OMAP: Update the search() interface of omap_hdq.
OMAP LDP boot crash. This is because w1 subsystem changed the search interface, so update omap_hdq's search interface to follow the change.
--- drivers/w1/masters/omap_hdq.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
drivers/w1/masters/omap_hdq.c +5 -5
@@ -89,8 +89,8 @@ static struct platform_driver omap_hdq_driver = {static u8 omap_w1_read_byte (void *_hdq);static void omap_w1_write_byte (void *_hdq,u8 byte);static u8 omap_w1_reset_bus (void *_hdq); -static void omap_w1_search_bus (void *_hdq,u8 search_type, -w1_slave_found_callback slave_found); +static void omap_w1_search_bus (void *_hdq,struct w1_master *master_dev, +u8 search_type,w1_slave_found_callback slave_found);static struct w1_bus_master omap_w1_master = {
@@ -237,8 +237,8 @@ static u8 omap_w1_reset_bus(void *_hdq) }/* W1 search callback function */ -static void omap_w1_search_bus (void *_hdq,u8 search_type, -w1_slave_found_callback slave_found) +static void omap_w1_search_bus (void *_hdq,struct w1_master *master_dev, +u8 search_type,w1_slave_found_callback slave_found) {u64 module_id, rn_le, cs, id;
@@ -255,7 +255,7 @@ static void omap_w1_search_bus(void *_hdq, u8 search_type, cs =w1_calc_crc8 ((u8 *)&rn_le,7 ); id = (cs <<56 ) | module_id; -slave_found (_hdq, id); +slave_found (master_dev, id); }static int _omap_hdq_reset (struct hdq_data *hdq_data)
Signature · 1 line
1.5.6.3
PATCH 2/3 OMAP_LDP: Add Ethernet device support to make ldp boot succeess.
Add Ethernet device support in board-ldp.c to make ldp can boot and mount nfs successfully.
--- arch/arm/configs/omap_ldp_defconfig | 148 ++++++++++++++++++++++++++- arch/arm/mach-omap2/board-ldp.c | 53 ++++++++++ arch/arm/plat-omap/include/mach/board-ldp.h | 5 +- drivers/net/smc911x.c | 6 +- drivers/net/smc911x.h | 2 + 5 files changed, 210 insertions(+), 4 deletions(-)
arch/arm/configs/omap_ldp_defconfig +147 -1
@@ -329,7 +329,82 @@ CONFIG_PM=y # CONFIG_SUSPEND is not set # CONFIG_APM_EMULATION is not set CONFIG_ARCH_SUSPEND_POSSIBLE=y -# CONFIG_NET is not set +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +# CONFIG_PACKET_MMAP is not set +CONFIG_UNIX=y +CONFIG_XFRM=y +CONFIG_XFRM_USER=y +# CONFIG_XFRM_SUB_POLICY is not set +CONFIG_XFRM_MIGRATE=y +# CONFIG_XFRM_STATISTICS is not set +CONFIG_NET_KEY=y +CONFIG_NET_KEY_MIGRATE=y +CONFIG_INET=y +CONFIG_IP_MULTICAST=y +# CONFIG_IP_ADVANCED_ROUTER is not set +CONFIG_IP_FIB_HASH=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +CONFIG_IP_PNP_BOOTP=y +CONFIG_IP_PNP_RARP=y +# CONFIG_NET_IPIP is not set +# CONFIG_NET_IPGRE is not set +# CONFIG_IP_MROUTE is not set +# CONFIG_ARPD is not set +# CONFIG_SYN_COOKIES is not set +# CONFIG_INET_AH is not set +# CONFIG_INET_ESP is not set +# CONFIG_INET_IPCOMP is not set +# CONFIG_INET_XFRM_TUNNEL is not set +# CONFIG_INET_TUNNEL is not set +CONFIG_INET_XFRM_MODE_TRANSPORT=y +CONFIG_INET_XFRM_MODE_TUNNEL=y +CONFIG_INET_XFRM_MODE_BEET=y +# CONFIG_INET_LRO is not set +CONFIG_INET_DIAG=y +CONFIG_INET_TCP_DIAG=y +# CONFIG_TCP_CONG_ADVANCED is not set +CONFIG_TCP_CONG_CUBIC=y +CONFIG_DEFAULT_TCP_CONG="cubic" +# CONFIG_TCP_MD5SIG is not set +# CONFIG_IPV6 is not set +# CONFIG_NETWORK_SECMARK is not set +# CONFIG_NETFILTER is not set +# CONFIG_IP_DCCP is not set +# CONFIG_IP_SCTP is not set +# CONFIG_TIPC is not set +# CONFIG_ATM is not set +# CONFIG_BRIDGE is not set +# CONFIG_NET_DSA is not set +# CONFIG_VLAN_8021Q is not set +# CONFIG_DECNET is not set +# CONFIG_LLC2 is not set +# CONFIG_IPX is not set +# CONFIG_ATALK is not set +# CONFIG_X25 is not set +# CONFIG_LAPB is not set +# CONFIG_ECONET is not set +# CONFIG_WAN_ROUTER is not set +# CONFIG_NET_SCHED is not set + +# +# Network testing +# +# CONFIG_NET_PKTGEN is not set +# CONFIG_HAMRADIO is not set +# CONFIG_CAN is not set +# CONFIG_IRDA is not set +# CONFIG_BT is not set +# CONFIG_AF_RXRPC is not set +# CONFIG_PHONET is not set +# CONFIG_WIRELESS is not set +# CONFIG_RFKILL is not set +# CONFIG_NET_9P is not set # # Device Drivers
@@ -345,6 +420,8 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y # CONFIG_DEBUG_DRIVER is not set # CONFIG_DEBUG_DEVRES is not set # CONFIG_SYS_HYPERVISOR is not set +CONFIG_CONNECTOR=y +CONFIG_PROC_EVENTS=y # CONFIG_MTD is not set # CONFIG_PARPORT is not set CONFIG_BLK_DEV=y
@@ -405,6 +482,54 @@ CONFIG_SCSI_LOWLEVEL=y # CONFIG_SCSI_DH is not set # CONFIG_ATA is not set # CONFIG_MD is not set +CONFIG_NETDEVICES=y +# CONFIG_DUMMY is not set +# CONFIG_BONDING is not set +# CONFIG_MACVLAN is not set +# CONFIG_EQUALIZER is not set +# CONFIG_TUN is not set +# CONFIG_VETH is not set +# CONFIG_PHYLIB is not set +CONFIG_NET_ETHERNET=y +CONFIG_MII=y +# CONFIG_AX88796 is not set +# CONFIG_SMC91X is not set +# CONFIG_DM9000 is not set +# CONFIG_ENC28J60 is not set +CONFIG_SMC911X=y +# CONFIG_IBM_NEW_EMAC_ZMII is not set +# CONFIG_IBM_NEW_EMAC_RGMII is not set +# CONFIG_IBM_NEW_EMAC_TAH is not set +# CONFIG_IBM_NEW_EMAC_EMAC4 is not set +# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set +# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set +# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set +# CONFIG_B44 is not set +CONFIG_NETDEV_1000=y +CONFIG_NETDEV_10000=y + +# +# Wireless LAN +# +# CONFIG_WLAN_PRE80211 is not set +# CONFIG_WLAN_80211 is not set +# CONFIG_IWLWIFI_LEDS is not set + +# +# USB Network Adapters +# +# CONFIG_USB_CATC is not set +# CONFIG_USB_KAWETH is not set +# CONFIG_USB_PEGASUS is not set +# CONFIG_USB_RTL8150 is not set +# CONFIG_USB_USBNET is not set +# CONFIG_WAN is not set +# CONFIG_PPP is not set +# CONFIG_SLIP is not set +# CONFIG_NETCONSOLE is not set +# CONFIG_NETPOLL is not set +# CONFIG_NET_POLL_CONTROLLER is not set +# CONFIG_ISDN is not set # # Input device support
@@ -1053,6 +1178,27 @@ CONFIG_TMPFS=y # CONFIG_ROMFS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set +CONFIG_NETWORK_FILESYSTEMS=y +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +CONFIG_NFS_V3_ACL=y +CONFIG_NFS_V4=y +CONFIG_ROOT_NFS=y +# CONFIG_NFSD is not set +CONFIG_LOCKD=y +CONFIG_LOCKD_V4=y +CONFIG_NFS_ACL_SUPPORT=y +CONFIG_NFS_COMMON=y +CONFIG_SUNRPC=y +CONFIG_SUNRPC_GSS=y +# CONFIG_SUNRPC_REGISTER_V4 is not set +CONFIG_RPCSEC_GSS_KRB5=y +# CONFIG_RPCSEC_GSS_SPKM3 is not set +# CONFIG_SMB_FS is not set +# CONFIG_CIFS is not set +# CONFIG_NCP_FS is not set +# CONFIG_CODA_FS is not set +# CONFIG_AFS_FS is not set # # Partition Types
arch/arm/mach-omap2/board-ldp.c +53 -0
79 lines not on this page · raw message
arch/arm/plat-omap/include/mach/board-ldp.h +4 -1
@@ -32,5 +32,8 @@extern void twl4030_bci_battery_init (void );#define TWL4030_IRQNUM INT_34XX_SYS_NIRQ - +#define LDP_SMC911X_CS 1 +#define LDP_SMC911X_GPIO 152 +#define DEBUG_BASE 0x08000000 +#define OMAP34XX_ETHR_START DEBUG_BASE#endif /* __ASM_ARCH_OMAP_LDP_H */
drivers/net/smc911x.c +4 -2
@@ -2063,7 +2063,7 @@ static int smc911x_drv_probe(struct platform_device *pdev) ret = -ENODEV ; goto out; } - +#ifndef SMC_MEM_RESERVED /* * Request the regions. */
@@ -2071,7 +2071,7 @@ static int smc911x_drv_probe(struct platform_device *pdev) ret = -EBUSY ; goto out; } - +#endif ndev =alloc_etherdev (sizeof (struct smc911x_local ));if (!ndev) {printk ("%s: could not allocate device.\n" ,CARDNAME );
@@ -2108,7 +2108,9 @@ static int smc911x_drv_probe(struct platform_device *pdev) release_both:free_netdev (ndev); release_1: +#ifndef SMC_MEM_RESERVED release_mem_region (res->start,SMC911X_IO_EXTENT ); +#endif out:printk ("%s: not found (%d).\n" ,CARDNAME , ret); }
drivers/net/smc911x.h +2 -0
@@ -682,6 +682,7 @@ smc_pxa_dma_outsl(struct smc911x_local *lp, u_long physaddr,#define CHIP_9116 0x0116#define CHIP_9117 0x0117#define CHIP_9118 0x0118 +#define CHIP_9211 0x9211#define CHIP_9215 0x115A#define CHIP_9217 0x117A#define CHIP_9218 0x118A
@@ -696,6 +697,7 @@ static const struct chip_id chip_ids[] = { { CHIP_9116, "LAN9116" }, { CHIP_9117, "LAN9117" }, { CHIP_9118, "LAN9118" }, + { CHIP_9211, "LAN9211" }, { CHIP_9215, "LAN9215" }, { CHIP_9217, "LAN9217" }, { CHIP_9218, "LAN9218" },
Signature · 1 line
1.5.6.3
PATCH 3/3 OMAP_LDP: Add keypad support on ZOOM SDK
Support twl4030 keypad and gpio keys on ZOOM SDK.
--- arch/arm/configs/omap_ldp_defconfig | 11 +++- arch/arm/mach-omap2/board-ldp.c | 115 +++++++++++++++++++++++++++ drivers/input/keyboard/Kconfig | 2 +- drivers/input/keyboard/gpio_keys.c | 4 + drivers/input/keyboard/omap-twl4030keypad.c | 15 +++- include/linux/gpio_keys.h | 1 + 6 files changed, 143 insertions(+), 5 deletions(-)
arch/arm/configs/omap_ldp_defconfig +10 -1
@@ -549,7 +549,16 @@ CONFIG_INPUT_EVDEV=y # # Input Device Drivers # -# CONFIG_INPUT_KEYBOARD is not set +CONFIG_INPUT_KEYBOARD=y +CONFIG_KEYBOARD_ATKBD=y +# CONFIG_KEYBOARD_SUNKBD is not set +# CONFIG_KEYBOARD_LKKBD is not set +# CONFIG_KEYBOARD_XTKBD is not set +# CONFIG_KEYBOARD_NEWTON is not set +# CONFIG_KEYBOARD_STOWAWAY is not set +CONFIG_KEYBOARD_TWL4030=y +# CONFIG_KEYBOARD_LM8323 is not set +CONFIG_KEYBOARD_GPIO=y # CONFIG_INPUT_MOUSE is not set # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_TABLET is not set
arch/arm/mach-omap2/board-ldp.c +115 -0
145 lines not on this page · raw message
drivers/input/keyboard/Kconfig +1 -1
@@ -261,7 +261,7 @@ config KEYBOARD_OMAP config KEYBOARD_TWL4030 tristate "TI TWL4030 keypad support" - depends on TWL4030_CORE && (MACH_OMAP_2430SDP || MACH_OMAP2EVM || MACH_OMAP_3430SDP || MACH_OMAP3EVM) + depends on TWL4030_CORE && (MACH_OMAP_2430SDP || MACH_OMAP2EVM || MACH_OMAP_3430SDP || MACH_OMAP3EVM || MACH_OMAP_LDP) help Say Y here if you want to use the OMAP TWL4030 keypad.
drivers/input/keyboard/gpio_keys.c +4 -0
@@ -98,6 +98,10 @@ static int __devinit gpio_keys_probe(struct platform_device *pdev) input->id.product =0x0001 ; input->id.version =0x0100 ; +/* Enable auto repeat feature of Linux input subsystem */ +if (pdata->rep) +set_bit (EV_REP , input->evbit); + ddata->input = input;for (i =0 ; i < pdata->nbuttons; i++) {
drivers/input/keyboard/omap-twl4030keypad.c +12 -3
@@ -174,7 +174,7 @@ static void twl4030_kp_scan(struct omap_keypad *kp, int release_all)if (!changed)continue ; -for (col =0 ; col < kp->n_cols +1 ; col++) { +for (col =0 ; col < kp->n_cols; col++) {int key;if (!(changed & (1 << col)))
@@ -185,11 +185,20 @@ static void twl4030_kp_scan(struct omap_keypad *kp, int release_all) "press" : "release"); key =omap_kp_find_key (kp, col, row); -if (key <0 ) +if (key <0 ) { +#ifdef CONFIG_MACH_OMAP_LDP +/* OMAP LDP has a TWL4030 GPIO +* (KBR5/KBC4) that is set to a persistent +* state and should be ignored. +*/ +if (row ==5 && col ==4 ) +continue ; +#endif +dev_warn (kp->dbg_dev,"Spurious key event %d-%d\n" , col, row); -else + }else input_report_key (kp->omap_twl4030kp, key, new_state[row] & (1 << col)); }
include/linux/gpio_keys.h +1 -0
@@ -15,6 +15,7 @@ struct gpio_keys_button {struct gpio_keys_platform_data {struct gpio_keys_button *buttons;int nbuttons; +unsigned int rep:1 ;/* enable input subsystem auto repeat */ };#endif
Signature · 1 line
1.5.6.3
Re: [PATCH 1/3] OMAP: Update the search() interface of omap_hdq.
In reply to Stanley.Miaodrivers/w1/masters/omap_hdq.c static u8 omap_w1_reset_bus(void *_hdq) · line 241
Quoted 5 lines · Stanley.Miao
/* W1 search callback function */
drivers/w1/masters/omap_hdq.c +2
-2-static void omap_w1_search_bus (void *_hdq,u8 search_type, -w1_slave_found_callback slave_found) +static void omap_w1_search_bus (void *_hdq,struct w1_master *master_dev, +u8 search_type,w1_slave_found_callback slave_found)
Please fix this:
ERROR: space required after that ',' (ctx:VxV)
#74: FILE: drivers/w1/masters/omap_hdq.c:241:
+ u8 search_type,w1_slave_found_callback slave_found)
Signature · 1 line
balbi
Quoted 4 lines · Stanley.Miao
Now there is only basic support for OMAP LDP in linux-omap-2.6, LDP can't boot up, even crash at boot
time(because of omap_hdq problem).Add the following patches to fix the boot crash and let LDP boot succussfuly.
I recall seeing patches sending this driver to mainline, could you check with Evgeniy Polyakov what's status ?? Or resend this series after fixing my comments and Cc him.
Signature · 1 line
balbi
Re: [PATCH 2/3] OMAP_LDP: Add Ethernet device support to make ldp boot succeess.
In reply to Stanley.MiaoHi,
Quoted 2 lines · Stanley.Miao
Add Ethernet device support in
board-ldp.cto make ldp can boot and mount nfs successfully.
Normally, defconfig changes come in a separate patch. Please split defconfig out of this patch and fix these:
WARNING: suspect code indent for conditional statements #292: FILE: arch/arm/mach-omap2/board-ldp.c:213:
+ if (gpmc_cs_request(eth_cs, SZ_16M, &cs_mem_base) < 0) {
ERROR: code indent should use tabs where possible
#293: FILE: arch/arm/mach-omap2/board-ldp.c:214:
+ printk(KERN_ERR "Failed to request GPMC mem for smc911x\n");$
ERROR: code indent should use tabs where possible
#294: FILE: arch/arm/mach-omap2/board-ldp.c:215:
+ return;$
WARNING: suspect code indent for conditional statements #305: FILE: arch/arm/mach-omap2/board-ldp.c:226:
+ if (omap_request_gpio(eth_gpio) < 0) {
ERROR: code indent should use tabs where possible
#306: FILE: arch/arm/mach-omap2/board-ldp.c:227:
+ printk(KERN_ERR "Failed to request GPIO%d for smc911x IRQ\n",$
ERROR: code indent should use tabs where possible
#307: FILE: arch/arm/mach-omap2/board-ldp.c:228:
+ eth_gpio);$
ERROR: code indent should use tabs where possible
#308: FILE: arch/arm/mach-omap2/board-ldp.c:229:
+ return;$
ERROR: code indent should use tabs where possible
#319: FILE: arch/arm/mach-omap2/board-ldp.c:240:
+ ldp_init_smc911x();$
Signature · 1 line
balbi
Re: [PATCH 3/3] OMAP_LDP: Add keypad support on ZOOM SDK
In reply to Stanley.MiaoQuoted 1 line · Stanley.Miao
Support twl4030 keypad and gpio keys on ZOOM SDK.
Again, split defconfig changes out of this patch.
arch/arm/mach-omap2/board-ldp.c static struct platform_device ldp_smc911x_device = { · line 107
Quoted 10 lines
arch/arm/mach-omap2/board-ldp.c +10
-0+static struct twl4030_keypad_data ldp_kp_twl4030_data = { + .rows =6 , + .cols =6 , + .keymap = ldp_twl4030_keymap, + .keymapsize =ARRAY_SIZE (ldp_twl4030_keymap), + .rep =1 , + .irq =TWL4030_MODIRQ_KEYPAD , +}; + +
one blank line is enough.
arch/arm/mach-omap2/board-ldp.c static struct platform_device ldp_smc911x_device = { · line 114
Quoted 7 lines
arch/arm/mach-omap2/board-ldp.c +7
-0+static struct gpio_keys_button ldp_gpio_keys_buttons[] = { + [0 ] = { + .code =KEY_ENTER , + .gpio =101 , + .desc ="enter sw" , + .active_low =1 , + .debounce_interval =30 ,
tabify here
arch/arm/mach-omap2/board-ldp.c static struct platform_device ldp_smc911x_device = { · line 121
Quoted 7 lines
arch/arm/mach-omap2/board-ldp.c +7
-0+ }, + [1] = { + .code = KEY_F1, + .gpio = 102, + .desc = "func 1", + .active_low = 1, + .debounce_interval = 30,
tabify here
arch/arm/mach-omap2/board-ldp.c static struct platform_device ldp_smc911x_device = { · line 128
Quoted 7 lines
arch/arm/mach-omap2/board-ldp.c +7
-0+ }, + [2] = { + .code = KEY_F2, + .gpio = 103, + .desc = "func 2", + .active_low = 1, + .debounce_interval = 30,
tabify here
arch/arm/mach-omap2/board-ldp.c static struct platform_device ldp_smc911x_device = { · line 135
Quoted 7 lines
arch/arm/mach-omap2/board-ldp.c +7
-0+ }, + [3] = { + .code = KEY_F3, + .gpio = 104, + .desc = "func 3", + .active_low = 1, + .debounce_interval = 30,
tabify here
arch/arm/mach-omap2/board-ldp.c static struct platform_device ldp_smc911x_device = { · line 142
Quoted 7 lines
arch/arm/mach-omap2/board-ldp.c +7
-0+ }, + [4] = { + .code = KEY_F4, + .gpio = 105, + .desc = "func 4", + .active_low = 1, + .debounce_interval = 30,
tabify here
arch/arm/mach-omap2/board-ldp.c static struct platform_device ldp_smc911x_device = { · line 149
Quoted 7 lines
arch/arm/mach-omap2/board-ldp.c +7
-0+ }, + [5] = { + .code = KEY_LEFT, + .gpio = 106, + .desc = "left sw", + .active_low = 1, + .debounce_interval = 30,
tabify here
arch/arm/mach-omap2/board-ldp.c static struct platform_device ldp_smc911x_device = { · line 156
Quoted 7 lines
arch/arm/mach-omap2/board-ldp.c +7
-0+ }, + [6] = { + .code = KEY_RIGHT, + .gpio = 107, + .desc = "right sw", + .active_low = 1, + .debounce_interval = 30,
tabify here
arch/arm/mach-omap2/board-ldp.c static struct platform_device ldp_smc911x_device = { · line 163
Quoted 7 lines
arch/arm/mach-omap2/board-ldp.c +7
-0+ }, + [7] = { + .code = KEY_UP, + .gpio = 108, + .desc = "up sw", + .active_low = 1, + .debounce_interval = 30,
tabify here
arch/arm/mach-omap2/board-ldp.c static struct platform_device ldp_smc911x_device = { · line 170
Quoted 7 lines
arch/arm/mach-omap2/board-ldp.c +7
-0+ }, + [8] = { + .code = KEY_DOWN, + .gpio = 109, + .desc = "down sw", + .active_low = 1, + .debounce_interval = 30,
tabify here
drivers/input/keyboard/omap-twl4030keypad.c static void twl4030_kp_scan(struct omap_keypad *kp, int release_all) · line 177
Quoted 10 lines
drivers/input/keyboard/omap-twl4030keypad.c +1
-1@@ -174,7 +174,7 @@ static void twl4030_kp_scan(struct omap_keypad *kp, int release_all)if (!changed)continue ; -for (col =0 ; col < kp->n_cols +1 ; col++) { +for (col =0 ; col < kp->n_cols; col++) {
this is a bug fix, should be in a separated patch.
Quoted 4 lines
drivers/input/keyboard/omap-twl4030keypad.c +0
-0@@ -185,11 +185,20 @@ static void twl4030_kp_scan(struct omap_keypad *kp, int release_all) "press" : "release"); key =omap_kp_find_key (kp, col, row);
drivers/input/keyboard/omap-twl4030keypad.c static void twl4030_kp_scan(struct omap_keypad *kp, int release_all) · line 196
Quoted 10 lines
drivers/input/keyboard/omap-twl4030keypad.c +9
-1-if (key <0 ) +if (key <0 ) { +#ifdef CONFIG_MACH_OMAP_LDP +/* OMAP LDP has a TWL4030 GPIO +* (KBR5/KBC4) that is set to a persistent +* state and should be ignored. +*/ +if (row ==5 && col ==4 ) +continue ; +#endif
this should be avoided in the driver as much as possible. You should probably add a persistent flag to the keymap data and match that flag here.
Something like, "if (key[i].persistent) continue;"
drivers/input/keyboard/omap-twl4030keypad.c static void twl4030_kp_scan(struct omap_keypad *kp, int release_all) · line 201
Quoted 6 lines
drivers/input/keyboard/omap-twl4030keypad.c +2
-1+dev_warn (kp->dbg_dev,"Spurious key event %d-%d\n" , col, row); - else + }else
if one arm has {}, put on both
Signature · 1 line
balbi
Quoted 9 lines · Felipe Balbi
Quoted 4 lines · Stanley.Miao
Now there is only basic support for OMAP LDP in linux-omap-2.6, LDP can't boot up, even crash at boot
time(because of omap_hdq problem).Add the following patches to fix the boot crash and let LDP boot succussfuly.
I recall seeing patches sending this driver to mainline, could you check with Evgeniy Polyakov what's status ?? Or resend this series after fixing my comments and Cc him.
Thanks for your comments, I will re-send the patches later.
Stanley.