From: <mar...@us...> - 2007-04-21 07:47:16
|
Revision: 959 http://svn.sourceforge.net/hackndev/?rev=959&view=rev Author: marex_z71 Date: 2007-04-21 00:47:13 -0700 (Sat, 21 Apr 2007) Log Message: ----------- PalmLD: prevent WM9712 constantly interrupting the CPU as on other palms Modified Paths: -------------- linux4palm/linux/trunk/arch/arm/mach-pxa/palmld/palmld.c Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmld/palmld.c =================================================================== --- linux4palm/linux/trunk/arch/arm/mach-pxa/palmld/palmld.c 2007-04-19 18:09:06 UTC (rev 958) +++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmld/palmld.c 2007-04-21 07:47:13 UTC (rev 959) @@ -362,6 +362,18 @@ static void __init palmld_init(void) { + // disable interrupt to prevent WM9712 constantly interrupting the CPU + // and preventing the boot process to complete (Thanx Alex & Shadowmite!) + + GCR &= ~GCR_PRIRDY_IEN; + + // set AC97's GPIOs + + pxa_gpio_mode(GPIO28_BITCLK_AC97_MD); + pxa_gpio_mode(GPIO29_SDATA_IN_AC97_MD); + pxa_gpio_mode(GPIO30_SDATA_OUT_AC97_MD); + pxa_gpio_mode(GPIO31_SYNC_AC97_MD); + set_pxa_fb_info( &palmld_lcd_screen ); pxa_set_mci_info( &palmld_mci_platform_data ); platform_add_devices( devices, ARRAY_SIZE(devices) ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |