Merge master.kernel.org:/home/rmk/linux-2.6-arm

* master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] 5255/1: Update jornada ssp to remove build errors/warnings
[ARM] omap: back out 'internal_clock' support
[ARM] 5249/1: davinci: remove redundant check in davinci_psc_config()

+13 -24
-3
arch/arm/mach-davinci/psc.c
··· 70 { 71 u32 epcpr, ptcmd, ptstat, pdstat, pdctl1, mdstat, mdctl, mdstat_mask; 72 73 - if (id < 0) 74 - return; 75 - 76 mdctl = davinci_readl(DAVINCI_PWR_SLEEP_CNTRL_BASE + MDCTL + 4 * id); 77 if (enable) 78 mdctl |= 0x00000003; /* Enable Module */
··· 70 { 71 u32 epcpr, ptcmd, ptstat, pdstat, pdctl1, mdstat, mdctl, mdstat_mask; 72 73 mdctl = davinci_readl(DAVINCI_PWR_SLEEP_CNTRL_BASE + MDCTL + 4 * id); 74 if (enable) 75 mdctl |= 0x00000003; /* Enable Module */
+8 -3
arch/arm/mach-sa1100/include/mach/jornada720.h
··· 1 /* 2 * arch/arm/mach-sa1100/include/mach/jornada720.h 3 * 4 - * This file contains SSP/MCU communication definitions for HP Jornada 710/720/728 5 * 6 - * Copyright (C) 2007 Kristoffer Ericson <Kristoffer.Ericson@gmail.com> 7 - * Copyright (C) 2000 John Ankcorn <jca@lcs.mit.edu> 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License version 2 as ··· 25 #define PWMOFF 0xDF 26 #define TXDUMMY 0x11 27 #define ERRORCODE 0x00
··· 1 /* 2 * arch/arm/mach-sa1100/include/mach/jornada720.h 3 * 4 + * SSP/MCU communication definitions for HP Jornada 710/720/728 5 * 6 + * Copyright 2007,2008 Kristoffer Ericson <Kristoffer.Ericson@gmail.com> 7 + * Copyright 2000 John Ankcorn <jca@lcs.mit.edu> 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License version 2 as ··· 25 #define PWMOFF 0xDF 26 #define TXDUMMY 0x11 27 #define ERRORCODE 0x00 28 + 29 + extern void jornada_ssp_start(void); 30 + extern void jornada_ssp_end(void); 31 + extern int jornada_ssp_inout(u8 byte); 32 + extern int jornada_ssp_byte(u8 byte);
+5 -5
arch/arm/mach-sa1100/jornada720_ssp.c
··· 21 #include <linux/slab.h> 22 23 #include <mach/hardware.h> 24 - #include <asm/hardware/ssp.h> 25 #include <mach/jornada720.h> 26 27 static DEFINE_SPINLOCK(jornada_ssp_lock); 28 static unsigned long jornada_ssp_flags; ··· 109 * jornada_ssp_start - enable mcu 110 * 111 */ 112 - int jornada_ssp_start() 113 { 114 spin_lock_irqsave(&jornada_ssp_lock, jornada_ssp_flags); 115 GPCR = GPIO_GPIO25; 116 udelay(50); 117 - return 0; 118 }; 119 EXPORT_SYMBOL(jornada_ssp_start); 120 ··· 122 * jornada_ssp_end - disable mcu and turn off lock 123 * 124 */ 125 - int jornada_ssp_end() 126 { 127 GPSR = GPIO_GPIO25; 128 spin_unlock_irqrestore(&jornada_ssp_lock, jornada_ssp_flags); 129 - return 0; 130 }; 131 EXPORT_SYMBOL(jornada_ssp_end); 132
··· 21 #include <linux/slab.h> 22 23 #include <mach/hardware.h> 24 #include <mach/jornada720.h> 25 + #include <asm/hardware/ssp.h> 26 27 static DEFINE_SPINLOCK(jornada_ssp_lock); 28 static unsigned long jornada_ssp_flags; ··· 109 * jornada_ssp_start - enable mcu 110 * 111 */ 112 + void jornada_ssp_start(void) 113 { 114 spin_lock_irqsave(&jornada_ssp_lock, jornada_ssp_flags); 115 GPCR = GPIO_GPIO25; 116 udelay(50); 117 + return; 118 }; 119 EXPORT_SYMBOL(jornada_ssp_start); 120 ··· 122 * jornada_ssp_end - disable mcu and turn off lock 123 * 124 */ 125 + void jornada_ssp_end(void) 126 { 127 GPSR = GPIO_GPIO25; 128 spin_unlock_irqrestore(&jornada_ssp_lock, jornada_ssp_flags); 129 + return; 130 }; 131 EXPORT_SYMBOL(jornada_ssp_end); 132
-13
arch/arm/plat-omap/devices.c
··· 316 omap_cfg_reg(MMC_DAT3); 317 } 318 } 319 - #if defined(CONFIG_ARCH_OMAP2420) 320 - if (mmc_conf->mmc[0].internal_clock) { 321 - /* 322 - * Use internal loop-back in MMC/SDIO 323 - * Module Input Clock selection 324 - */ 325 - if (cpu_is_omap24xx()) { 326 - u32 v = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0); 327 - v |= (1 << 24); /* not used in 243x */ 328 - omap_ctrl_writel(v, OMAP2_CONTROL_DEVCONF0); 329 - } 330 - } 331 - #endif 332 } 333 334 #ifdef CONFIG_ARCH_OMAP16XX
··· 316 omap_cfg_reg(MMC_DAT3); 317 } 318 } 319 } 320 321 #ifdef CONFIG_ARCH_OMAP16XX