From: Ricardo Salveti de Araujo Date: Mon, 23 May 2011 11:19:30 +0000 (+0530) Subject: panda: mux: Configure SYS_NIRQ2 pin in safe mode X-Git-Tag: v1.5.1~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d121f870c14f61720cb6f553d9ea27580d1e37ce;p=pandora-x-loader.git panda: mux: Configure SYS_NIRQ2 pin in safe mode SYS_NIRQ2 pin if not in safe mode, with audio driver enabled gates CORE RET. Hence configured in safe mode. Audio driver is expected to re-init the pin in the kernel. Patch based on the SDP one from dev.omapzoom.org (59df6c45) by Rajendra Nayak Signed-off-by: Ricardo Salveti de Araujo Signed-off-by: Anand Gadiyar --- diff --git a/board/omap4430panda/omap4430panda.c b/board/omap4430panda/omap4430panda.c index 962820b..9b4e457 100644 --- a/board/omap4430panda/omap4430panda.c +++ b/board/omap4430panda/omap4430panda.c @@ -1080,7 +1080,7 @@ static const struct omap4panda_mux omap4panda_mux[] = { { OMAP44XX_CTRL_BASE + CP(FREF_CLK2_OUT), PTD | IEN | M3 /* gpio_182 */ }, { OMAP44XX_CTRL_BASE + CP(SYS_NIRQ1), PTU | IEN | M0 /* sys_nirq1 */ }, - { OMAP44XX_CTRL_BASE + CP(SYS_NIRQ2), PTU | IEN | M0 /* sys_nirq2 */ }, + { OMAP44XX_CTRL_BASE + CP(SYS_NIRQ2), M7 /* sys_nirq2 */ }, { OMAP44XX_CTRL_BASE + CP(SYS_BOOT0), PTU | IEN | M3 /* gpio_184 */ }, { OMAP44XX_CTRL_BASE + CP(SYS_BOOT1), M3 /* gpio_185 */ }, { OMAP44XX_CTRL_BASE + CP(SYS_BOOT2), PTD | IEN | M3 /* gpio_186 */ },