[ARM] spelling fixes

Spelling fixes in arch/arm/.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Simon Arlott and committed by Russell King 6cbdc8c5 fc432e19

+62 -62
+1 -1
arch/arm/common/dmabounce.c
··· 6 * copy data to/from buffers located outside the DMA region. This 7 * only works for systems in which DMA memory is at the bottom of 8 * RAM, the remainder of memory is at the top and the DMA memory 9 - * can be marked as ZONE_DMA. Anything beyond that such as discontigous 10 * DMA windows will require custom implementations that reserve memory 11 * areas at early bootup. 12 *
··· 6 * copy data to/from buffers located outside the DMA region. This 7 * only works for systems in which DMA memory is at the bottom of 8 * RAM, the remainder of memory is at the top and the DMA memory 9 + * can be marked as ZONE_DMA. Anything beyond that such as discontiguous 10 * DMA windows will require custom implementations that reserve memory 11 * areas at early bootup. 12 *
+1 -1
arch/arm/common/gic.c
··· 72 * unmask it, in the same way we need to unmask an interrupt when 73 * we first enable it. 74 * 75 - * The GIC has a seperate notion of "end of interrupt" to re-enable 76 * an interrupt after handling, in order to support hardware 77 * prioritisation. 78 *
··· 72 * unmask it, in the same way we need to unmask an interrupt when 73 * we first enable it. 74 * 75 + * The GIC has a separate notion of "end of interrupt" to re-enable 76 * an interrupt after handling, in order to support hardware 77 * prioritisation. 78 *
+1 -1
arch/arm/common/sharpsl_param.c
··· 20 * typically including LCD parameters are loaded by the bootloader at the 21 * address PARAM_BASE. As the kernel will overwrite them, we need to store 22 * them early in the boot process, then pass them to the appropriate drivers. 23 - * Not all devices use all paramaters but the format is common to all. 24 */ 25 #ifdef CONFIG_ARCH_SA1100 26 #define PARAM_BASE 0xe8ffc000
··· 20 * typically including LCD parameters are loaded by the bootloader at the 21 * address PARAM_BASE. As the kernel will overwrite them, we need to store 22 * them early in the boot process, then pass them to the appropriate drivers. 23 + * Not all devices use all parameters but the format is common to all. 24 */ 25 #ifdef CONFIG_ARCH_SA1100 26 #define PARAM_BASE 0xe8ffc000
+5 -5
arch/arm/common/sharpsl_pm.c
··· 291 } 292 293 /* Charging Finished Interrupt (Not present on Corgi) */ 294 - /* Can trigger at the same time as an AC staus change so 295 delay until after that has been processed */ 296 irqreturn_t sharpsl_chrg_full_isr(int irq, void *dev_id) 297 { ··· 635 636 static int sharpsl_off_charge_error(void) 637 { 638 - dev_err(sharpsl_pm.dev, "Offline Charger: Error occured.\n"); 639 sharpsl_pm.machinfo->charge(0); 640 sharpsl_pm_led(SHARPSL_LED_ERROR); 641 sharpsl_pm.charge_mode = CHRG_ERROR; ··· 691 692 time = RCNR; 693 while(1) { 694 - /* Check if any wakeup event had occured */ 695 if (sharpsl_pm.machinfo->charger_wakeup() != 0) 696 return 0; 697 /* Check for timeout */ 698 if ((RCNR - time) > SHARPSL_WAIT_CO_TIME) 699 return 1; 700 if (sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_CHRGFULL)) { 701 - dev_dbg(sharpsl_pm.dev, "Offline Charger: Charge full occured. Retrying to check\n"); 702 sharpsl_pm.full_count++; 703 sharpsl_pm.machinfo->charge(0); 704 mdelay(SHARPSL_CHARGE_WAIT_TIME); ··· 714 715 time = RCNR; 716 while(1) { 717 - /* Check if any wakeup event had occured */ 718 if (sharpsl_pm.machinfo->charger_wakeup() != 0) 719 return 0; 720 /* Check for timeout */
··· 291 } 292 293 /* Charging Finished Interrupt (Not present on Corgi) */ 294 + /* Can trigger at the same time as an AC status change so 295 delay until after that has been processed */ 296 irqreturn_t sharpsl_chrg_full_isr(int irq, void *dev_id) 297 { ··· 635 636 static int sharpsl_off_charge_error(void) 637 { 638 + dev_err(sharpsl_pm.dev, "Offline Charger: Error occurred.\n"); 639 sharpsl_pm.machinfo->charge(0); 640 sharpsl_pm_led(SHARPSL_LED_ERROR); 641 sharpsl_pm.charge_mode = CHRG_ERROR; ··· 691 692 time = RCNR; 693 while(1) { 694 + /* Check if any wakeup event had occurred */ 695 if (sharpsl_pm.machinfo->charger_wakeup() != 0) 696 return 0; 697 /* Check for timeout */ 698 if ((RCNR - time) > SHARPSL_WAIT_CO_TIME) 699 return 1; 700 if (sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_CHRGFULL)) { 701 + dev_dbg(sharpsl_pm.dev, "Offline Charger: Charge full occurred. Retrying to check\n"); 702 sharpsl_pm.full_count++; 703 sharpsl_pm.machinfo->charge(0); 704 mdelay(SHARPSL_CHARGE_WAIT_TIME); ··· 714 715 time = RCNR; 716 while(1) { 717 + /* Check if any wakeup event had occurred */ 718 if (sharpsl_pm.machinfo->charger_wakeup() != 0) 719 return 0; 720 /* Check for timeout */
+1 -1
arch/arm/kernel/sys_arm.c
··· 320 EXPORT_SYMBOL(kernel_execve); 321 322 /* 323 - * Since loff_t is a 64 bit type we avoid a lot of ABI hastle 324 * with a different argument ordering. 325 */ 326 asmlinkage long sys_arm_fadvise64_64(int fd, int advice,
··· 320 EXPORT_SYMBOL(kernel_execve); 321 322 /* 323 + * Since loff_t is a 64 bit type we avoid a lot of ABI hassle 324 * with a different argument ordering. 325 */ 326 asmlinkage long sys_arm_fadvise64_64(int fd, int advice,
+1 -1
arch/arm/lib/bitops.h
··· 47 * @store: store instruction 48 * 49 * Note: we can trivially conditionalise the store instruction 50 - * to avoid dirting the data cache. 51 */ 52 .macro testop, instr, store 53 add r1, r1, r0, lsr #3
··· 47 * @store: store instruction 48 * 49 * Note: we can trivially conditionalise the store instruction 50 + * to avoid dirtying the data cache. 51 */ 52 .macro testop, instr, store 53 add r1, r1, r0, lsr #3
+4 -4
arch/arm/mach-at91/board-carmeva.c
··· 79 .pullup_pin = AT91_PIN_PD9, 80 }; 81 82 - /* FIXME: user dependend */ 83 // static struct at91_cf_data __initdata carmeva_cf_data = { 84 // .det_pin = AT91_PIN_PB0, 85 // .rst_pin = AT91_PIN_PC5, ··· 100 .chip_select = 0, 101 .max_speed_hz = 10 * 1000 * 1000, 102 }, 103 - { /* User accessable spi - cs1 (250KHz) */ 104 .modalias = "spi-cs1", 105 .chip_select = 1, 106 .max_speed_hz = 250 * 1000, 107 }, 108 - { /* User accessable spi - cs2 (1MHz) */ 109 .modalias = "spi-cs2", 110 .chip_select = 2, 111 .max_speed_hz = 1 * 1000 * 1000, 112 }, 113 - { /* User accessable spi - cs3 (10MHz) */ 114 .modalias = "spi-cs3", 115 .chip_select = 3, 116 .max_speed_hz = 10 * 1000 * 1000,
··· 79 .pullup_pin = AT91_PIN_PD9, 80 }; 81 82 + /* FIXME: user dependant */ 83 // static struct at91_cf_data __initdata carmeva_cf_data = { 84 // .det_pin = AT91_PIN_PB0, 85 // .rst_pin = AT91_PIN_PC5, ··· 100 .chip_select = 0, 101 .max_speed_hz = 10 * 1000 * 1000, 102 }, 103 + { /* User accessible spi - cs1 (250KHz) */ 104 .modalias = "spi-cs1", 105 .chip_select = 1, 106 .max_speed_hz = 250 * 1000, 107 }, 108 + { /* User accessible spi - cs2 (1MHz) */ 109 .modalias = "spi-cs2", 110 .chip_select = 2, 111 .max_speed_hz = 1 * 1000 * 1000, 112 }, 113 + { /* User accessible spi - cs3 (10MHz) */ 114 .modalias = "spi-cs3", 115 .chip_select = 3, 116 .max_speed_hz = 10 * 1000 * 1000,
+2 -2
arch/arm/mach-h720x/cpu-h7202.c
··· 143 } 144 145 /* 146 - * mask multiplexed timer irq's 147 */ 148 static void inline mask_timerx_irq (u32 irq) 149 { ··· 153 } 154 155 /* 156 - * unmask multiplexed timer irq's 157 */ 158 static void inline unmask_timerx_irq (u32 irq) 159 {
··· 143 } 144 145 /* 146 + * mask multiplexed timer IRQs 147 */ 148 static void inline mask_timerx_irq (u32 irq) 149 { ··· 153 } 154 155 /* 156 + * unmask multiplexed timer IRQs 157 */ 158 static void inline unmask_timerx_irq (u32 irq) 159 {
+1 -1
arch/arm/mach-imx/cpufreq.c
··· 245 if(mpctl0) { 246 CSCR |= CSCR_MPLL_RESTART; 247 248 - /* Wait until MPLL is stablized */ 249 while( CSCR & CSCR_MPLL_RESTART ); 250 251 imx_set_async_mode();
··· 245 if(mpctl0) { 246 CSCR |= CSCR_MPLL_RESTART; 247 248 + /* Wait until MPLL is stabilized */ 249 while( CSCR & CSCR_MPLL_RESTART ); 250 251 imx_set_async_mode();
+4 -4
arch/arm/mach-imx/dma.c
··· 131 * The function setups DMA channel source and destination addresses for transfer 132 * specified by provided parameters. The scatter-gather emulation is disabled, 133 * because linear data block 134 - * form the physical address range is transfered. 135 * Return value: if incorrect parameters are provided -%EINVAL. 136 * Zero indicates success. 137 */ ··· 192 * @dmamode: DMA transfer mode, %DMA_MODE_READ from the device to the memory 193 * or %DMA_MODE_WRITE from memory to the device 194 * 195 - * The function setups DMA channel state and registers to be ready for transfer 196 * specified by provided parameters. The scatter-gather emulation is set up 197 * according to the parameters. 198 * ··· 212 * 213 * %CCR_SMOD_LINEAR | %CCR_SSIZ_32 | %CCR_DMOD_FIFO | %CCR_DSIZ_x 214 * 215 - * Be carefull there and do not mistakenly mix source and target device 216 * port sizes constants, they are really different: 217 * %CCR_SSIZ_8, %CCR_SSIZ_16, %CCR_SSIZ_32, 218 * %CCR_DSIZ_8, %CCR_DSIZ_16, %CCR_DSIZ_32 ··· 495 /* 496 * The cleaning of @sg field would be questionable 497 * there, because its value can help to compute 498 - * remaining/transfered bytes count in the handler 499 */ 500 /*imx_dma_channels[i].sg = NULL;*/ 501
··· 131 * The function setups DMA channel source and destination addresses for transfer 132 * specified by provided parameters. The scatter-gather emulation is disabled, 133 * because linear data block 134 + * form the physical address range is transferred. 135 * Return value: if incorrect parameters are provided -%EINVAL. 136 * Zero indicates success. 137 */ ··· 192 * @dmamode: DMA transfer mode, %DMA_MODE_READ from the device to the memory 193 * or %DMA_MODE_WRITE from memory to the device 194 * 195 + * The function sets up DMA channel state and registers to be ready for transfer 196 * specified by provided parameters. The scatter-gather emulation is set up 197 * according to the parameters. 198 * ··· 212 * 213 * %CCR_SMOD_LINEAR | %CCR_SSIZ_32 | %CCR_DMOD_FIFO | %CCR_DSIZ_x 214 * 215 + * Be careful here and do not mistakenly mix source and target device 216 * port sizes constants, they are really different: 217 * %CCR_SSIZ_8, %CCR_SSIZ_16, %CCR_SSIZ_32, 218 * %CCR_DSIZ_8, %CCR_DSIZ_16, %CCR_DSIZ_32 ··· 495 /* 496 * The cleaning of @sg field would be questionable 497 * there, because its value can help to compute 498 + * remaining/transferred bytes count in the handler 499 */ 500 /*imx_dma_channels[i].sg = NULL;*/ 501
+1 -1
arch/arm/mach-iop13xx/pci.c
··· 989 "imprecise external abort"); 990 } 991 992 - /* intialize the pci memory space. handle any combination of 993 * atue and atux enabled/disabled 994 */ 995 int iop13xx_pci_setup(int nr, struct pci_sys_data *sys)
··· 989 "imprecise external abort"); 990 } 991 992 + /* initialize the pci memory space. handle any combination of 993 * atue and atux enabled/disabled 994 */ 995 int iop13xx_pci_setup(int nr, struct pci_sys_data *sys)
+1 -1
arch/arm/mach-ixp2000/enp2611.c
··· 198 199 200 /************************************************************************* 201 - * ENP-2611 Machine Intialization 202 *************************************************************************/ 203 static struct flash_platform_data enp2611_flash_platform_data = { 204 .map_name = "cfi_probe",
··· 198 199 200 /************************************************************************* 201 + * ENP-2611 Machine Initialization 202 *************************************************************************/ 203 static struct flash_platform_data enp2611_flash_platform_data = { 204 .map_name = "cfi_probe",
+2 -2
arch/arm/mach-ixp2000/ixdp2x00.c
··· 195 * instances of the kernel. So far so good. Peers on the PCI bus running 196 * Linux is a common design in telecom systems. The problem is that instead 197 * of all the devices being controlled by a single host, different 198 - * devices are controlles by different NPUs on the same bus, leading to 199 * multiple hosts on the bus. The exact bus layout looks like: 200 * 201 * Bus 0 ··· 211 * | | | | | 212 * ... Dev PMC Media Eth0 Eth1 ... 213 * 214 - * The master controlls all but Eth1, which is controlled by the 215 * slave. What this means is that the both the master and the slave 216 * have to scan the bus, but only one of them can enumerate the bus. 217 * In addition, after the bus is scanned, each kernel must remove
··· 195 * instances of the kernel. So far so good. Peers on the PCI bus running 196 * Linux is a common design in telecom systems. The problem is that instead 197 * of all the devices being controlled by a single host, different 198 + * devices are controlled by different NPUs on the same bus, leading to 199 * multiple hosts on the bus. The exact bus layout looks like: 200 * 201 * Bus 0 ··· 211 * | | | | | 212 * ... Dev PMC Media Eth0 Eth1 ... 213 * 214 + * The master controls all but Eth1, which is controlled by the 215 * slave. What this means is that the both the master and the slave 216 * have to scan the bus, but only one of them can enumerate the bus. 217 * In addition, after the bus is scanned, each kernel must remove
+3 -3
arch/arm/mach-ixp2000/ixdp2x01.c
··· 276 /* Device is located after first MB bridge */ 277 case 0x0008: 278 if (tmp_bus == dev->bus) { 279 - /* Device is located directy after first MB bridge */ 280 switch (devpin) { 281 case DEVPIN(1, 1): /* Onboard 82546 ch 0 */ 282 if (machine_is_ixdp2401()) ··· 299 break; 300 case 0x0010: 301 if (tmp_bus == dev->bus) { 302 - /* Device is located directy after second MB bridge */ 303 /* Secondary bus of second bridge */ 304 switch (devpin) { 305 case DEVPIN(0, 1): /* DB#0 */ ··· 348 subsys_initcall(ixdp2x01_pci_init); 349 350 /************************************************************************* 351 - * IXDP2x01 Machine Intialization 352 *************************************************************************/ 353 static struct flash_platform_data ixdp2x01_flash_platform_data = { 354 .map_name = "cfi_probe",
··· 276 /* Device is located after first MB bridge */ 277 case 0x0008: 278 if (tmp_bus == dev->bus) { 279 + /* Device is located directly after first MB bridge */ 280 switch (devpin) { 281 case DEVPIN(1, 1): /* Onboard 82546 ch 0 */ 282 if (machine_is_ixdp2401()) ··· 299 break; 300 case 0x0010: 301 if (tmp_bus == dev->bus) { 302 + /* Device is located directly after second MB bridge */ 303 /* Secondary bus of second bridge */ 304 switch (devpin) { 305 case DEVPIN(0, 1): /* DB#0 */ ··· 348 subsys_initcall(ixdp2x01_pci_init); 349 350 /************************************************************************* 351 + * IXDP2x01 Machine Initialization 352 *************************************************************************/ 353 static struct flash_platform_data ixdp2x01_flash_platform_data = { 354 .map_name = "cfi_probe",
+1 -1
arch/arm/mach-ixp2000/pci.c
··· 102 } 103 104 /* 105 - * We don't do error checks by callling clear_master_aborts() b/c the 106 * assumption is that the caller did a read first to make sure a device 107 * exists. 108 */
··· 102 } 103 104 /* 105 + * We don't do error checks by calling clear_master_aborts() b/c the 106 * assumption is that the caller did a read first to make sure a device 107 * exists. 108 */
+1 -1
arch/arm/mach-ixp23xx/core.c
··· 389 390 391 /************************************************************************* 392 - * IXP23xx Platform Initializaion 393 *************************************************************************/ 394 static struct resource ixp23xx_uart_resources[] = { 395 {
··· 389 390 391 /************************************************************************* 392 + * IXP23xx Platform Initialization 393 *************************************************************************/ 394 static struct resource ixp23xx_uart_resources[] = { 395 {
+1 -1
arch/arm/mach-ixp4xx/gtwx5715-setup.c
··· 1 /* 2 * arch/arm/mach-ixp4xx/gtwx5715-setup.c 3 * 4 - * Gemtek GTWX5715 (Linksys WRV54G) board settup 5 * 6 * Copyright (C) 2004 George T. Joseph 7 * Derived from Coyote
··· 1 /* 2 * arch/arm/mach-ixp4xx/gtwx5715-setup.c 3 * 4 + * Gemtek GTWX5715 (Linksys WRV54G) board setup 5 * 6 * Copyright (C) 2004 George T. Joseph 7 * Derived from Coyote
+3 -3
arch/arm/mach-lh7a40x/lcd-panel.h
··· 126 127 */ 128 129 - /* The full horozontal cycle (Th) is clock/360/400/450. */ 130 /* The full vertical cycle (Tv) is line/251/262/280. */ 131 132 #define PIX_CLOCK_TARGET (6300000) /* -/6.3/7 MHz */ ··· 162 /* Logic Product Development LCD 6.4" VGA -10 */ 163 /* Sharp PN LQ64D343 */ 164 165 - /* The full horozontal cycle (Th) is clock/750/800/900. */ 166 /* The full vertical cycle (Tv) is line/515/525/560. */ 167 168 #define PIX_CLOCK_TARGET (28330000) ··· 243 * (fdisk, e2fsck). And, at that speed the display may have a visible 244 * flicker. */ 245 246 - /* The full horozontal cycle (Th) is clock/832/1056/1395. */ 247 248 #define PIX_CLOCK_TARGET (20000000) 249 #define PIX_CLOCK_DIVIDER CLOCK_TO_DIV (PIX_CLOCK_TARGET, HCLK)
··· 126 127 */ 128 129 + /* The full horizontal cycle (Th) is clock/360/400/450. */ 130 /* The full vertical cycle (Tv) is line/251/262/280. */ 131 132 #define PIX_CLOCK_TARGET (6300000) /* -/6.3/7 MHz */ ··· 162 /* Logic Product Development LCD 6.4" VGA -10 */ 163 /* Sharp PN LQ64D343 */ 164 165 + /* The full horizontal cycle (Th) is clock/750/800/900. */ 166 /* The full vertical cycle (Tv) is line/515/525/560. */ 167 168 #define PIX_CLOCK_TARGET (28330000) ··· 243 * (fdisk, e2fsck). And, at that speed the display may have a visible 244 * flicker. */ 245 246 + /* The full horizontal cycle (Th) is clock/832/1056/1395. */ 247 248 #define PIX_CLOCK_TARGET (20000000) 249 #define PIX_CLOCK_DIVIDER CLOCK_TO_DIV (PIX_CLOCK_TARGET, HCLK)
+1 -1
arch/arm/mach-ns9xxx/time.c
··· 35 { 36 /* return the microseconds which have passed since the last interrupt 37 * was _serviced_. That is, if an interrupt is pending or the counter 38 - * reloads, return one periode more. */ 39 40 u32 counter1 = SYS_TR(0); 41 int pending = SYS_ISR & (1 << IRQ_TIMER0);
··· 35 { 36 /* return the microseconds which have passed since the last interrupt 37 * was _serviced_. That is, if an interrupt is pending or the counter 38 + * reloads, return one period more. */ 39 40 u32 counter1 = SYS_TR(0); 41 int pending = SYS_ISR & (1 << IRQ_TIMER0);
+1 -1
arch/arm/mach-omap1/board-osk.c
··· 385 /* Workaround for wrong CS3 (NOR flash) timing 386 * There are some U-Boot versions out there which configure 387 * wrong CS3 memory timings. This mainly leads to CRC 388 - * or similiar errors if you use NOR flash (e.g. with JFFS2) 389 */ 390 if (EMIFS_CCS(3) != EMIFS_CS3_VAL) 391 EMIFS_CCS(3) = EMIFS_CS3_VAL;
··· 385 /* Workaround for wrong CS3 (NOR flash) timing 386 * There are some U-Boot versions out there which configure 387 * wrong CS3 memory timings. This mainly leads to CRC 388 + * or similar errors if you use NOR flash (e.g. with JFFS2) 389 */ 390 if (EMIFS_CCS(3) != EMIFS_CS3_VAL) 391 EMIFS_CCS(3) = EMIFS_CS3_VAL;
+1 -1
arch/arm/mach-omap1/board-palmte.c
··· 7 * 8 * Original version : Laurent Gonzalez 9 * 10 - * Maintainters : http://palmtelinux.sf.net 11 * palmtelinux-developpers@lists.sf.net 12 * 13 * This program is free software; you can redistribute it and/or modify
··· 7 * 8 * Original version : Laurent Gonzalez 9 * 10 + * Maintainers : http://palmtelinux.sf.net 11 * palmtelinux-developpers@lists.sf.net 12 * 13 * This program is free software; you can redistribute it and/or modify
+1 -1
arch/arm/mach-omap1/pm.c
··· 438 omap_writew(0, ULPD_SOFT_DISABLE_REQ_REG); 439 440 /* 441 - * Reenable interrupts 442 */ 443 444 local_irq_enable();
··· 438 omap_writew(0, ULPD_SOFT_DISABLE_REQ_REG); 439 440 /* 441 + * Re-enable interrupts 442 */ 443 444 local_irq_enable();
+1 -1
arch/arm/mach-omap2/clock.c
··· 443 444 /* 445 * Check the DLL lock state, and return tue if running in unlock mode. 446 - * This is needed to compenste for the shifted DLL value in unlock mode. 447 */ 448 static u32 omap2_dll_force_needed(void) 449 {
··· 443 444 /* 445 * Check the DLL lock state, and return tue if running in unlock mode. 446 + * This is needed to compensate for the shifted DLL value in unlock mode. 447 */ 448 static u32 omap2_dll_force_needed(void) 449 {
+2 -2
arch/arm/mach-omap2/clock.h
··· 338 /* 339 * These represent optimal values for common parts, it won't work for all. 340 * As long as you scale down, most parameters are still work, they just 341 - * become sub-optimal. The RFR value goes in the oppisite direction. If you 342 * don't adjust it down as your clock period increases the refresh interval 343 * will not be met. Setting all parameters for complete worst case may work, 344 * but may cut memory performance by 2x. Due to errata the DLLs need to be ··· 384 * Filling in table based on H4 boards and 2430-SDPs variants available. 385 * There are quite a few more rates combinations which could be defined. 386 * 387 - * When multiple values are defiend the start up will try and choose the 388 * fastest one. If a 'fast' value is defined, then automatically, the /2 389 * one should be included as it can be used. Generally having more that 390 * one fast set does not make sense, as static timings need to be changed
··· 338 /* 339 * These represent optimal values for common parts, it won't work for all. 340 * As long as you scale down, most parameters are still work, they just 341 + * become sub-optimal. The RFR value goes in the opposite direction. If you 342 * don't adjust it down as your clock period increases the refresh interval 343 * will not be met. Setting all parameters for complete worst case may work, 344 * but may cut memory performance by 2x. Due to errata the DLLs need to be ··· 384 * Filling in table based on H4 boards and 2430-SDPs variants available. 385 * There are quite a few more rates combinations which could be defined. 386 * 387 + * When multiple values are defined the start up will try and choose the 388 * fastest one. If a 'fast' value is defined, then automatically, the /2 389 * one should be included as it can be used. Generally having more that 390 * one fast set does not make sense, as static timings need to be changed
+5 -5
arch/arm/mach-pxa/corgi_lcd.c
··· 40 #define PICTRL_ADRS 0x06 41 #define POLCTRL_ADRS 0x07 42 43 - /* Resgister Bit Definitions */ 44 #define RESCTL_QVGA 0x01 45 #define RESCTL_VGA 0x00 46 ··· 55 #define POWER0_COM_DCLK 0x01 /* COM Voltage DC Bias DAC Serial Data Clock */ 56 #define POWER0_COM_DOUT 0x02 /* COM Voltage DC Bias DAC Serial Data Out */ 57 #define POWER0_DAC_ON 0x04 /* DAC Power Supply ON */ 58 - #define POWER0_COM_ON 0x08 /* COM Powewr Supply ON */ 59 #define POWER0_VCC5_ON 0x10 /* VCC5 Power Supply ON */ 60 61 #define POWER0_DAC_OFF 0x00 /* DAC Power Supply OFF */ 62 - #define POWER0_COM_OFF 0x00 /* COM Powewr Supply OFF */ 63 #define POWER0_VCC5_OFF 0x00 /* VCC5 Power Supply OFF */ 64 65 #define PICTRL_INIT_STATE 0x01 ··· 145 lcdtg_i2c_send_stop(base_data); 146 } 147 148 - /* Set Phase Adjuct */ 149 static void lcdtg_set_phadadj(int mode) 150 { 151 int adj; ··· 226 /* Signals output enable */ 227 corgi_ssp_lcdtg_send(PICTRL_ADRS, 0); 228 229 - /* Set Phase Adjuct */ 230 lcdtg_set_phadadj(mode); 231 232 /* Initialize for Input Signals from ATI */
··· 40 #define PICTRL_ADRS 0x06 41 #define POLCTRL_ADRS 0x07 42 43 + /* Register Bit Definitions */ 44 #define RESCTL_QVGA 0x01 45 #define RESCTL_VGA 0x00 46 ··· 55 #define POWER0_COM_DCLK 0x01 /* COM Voltage DC Bias DAC Serial Data Clock */ 56 #define POWER0_COM_DOUT 0x02 /* COM Voltage DC Bias DAC Serial Data Out */ 57 #define POWER0_DAC_ON 0x04 /* DAC Power Supply ON */ 58 + #define POWER0_COM_ON 0x08 /* COM Power Supply ON */ 59 #define POWER0_VCC5_ON 0x10 /* VCC5 Power Supply ON */ 60 61 #define POWER0_DAC_OFF 0x00 /* DAC Power Supply OFF */ 62 + #define POWER0_COM_OFF 0x00 /* COM Power Supply OFF */ 63 #define POWER0_VCC5_OFF 0x00 /* VCC5 Power Supply OFF */ 64 65 #define PICTRL_INIT_STATE 0x01 ··· 145 lcdtg_i2c_send_stop(base_data); 146 } 147 148 + /* Set Phase Adjust */ 149 static void lcdtg_set_phadadj(int mode) 150 { 151 int adj; ··· 226 /* Signals output enable */ 227 corgi_ssp_lcdtg_send(PICTRL_ADRS, 0); 228 229 + /* Set Phase Adjust */ 230 lcdtg_set_phadadj(mode); 231 232 /* Initialize for Input Signals from ATI */
+1 -1
arch/arm/mach-pxa/corgi_ssp.c
··· 32 * There are three devices connected to the SSP interface: 33 * 1. A touchscreen controller (TI ADS7846 compatible) 34 * 2. An LCD contoller (with some Backlight functionality) 35 - * 3. A battery moinitoring IC (Maxim MAX1111) 36 * 37 * Each device uses a different speed/mode of communication. 38 *
··· 32 * There are three devices connected to the SSP interface: 33 * 1. A touchscreen controller (TI ADS7846 compatible) 34 * 2. An LCD contoller (with some Backlight functionality) 35 + * 3. A battery monitoring IC (Maxim MAX1111) 36 * 37 * Each device uses a different speed/mode of communication. 38 *
+1 -1
arch/arm/mach-realview/localtimer.c
··· 30 /* 31 * local_timer_ack: checks for a local timer interrupt. 32 * 33 - * If a local timer interrupt has occured, acknowledge and return 1. 34 * Otherwise, return 0. 35 */ 36 int local_timer_ack(void)
··· 30 /* 31 * local_timer_ack: checks for a local timer interrupt. 32 * 33 + * If a local timer interrupt has occurred, acknowledge and return 1. 34 * Otherwise, return 0. 35 */ 36 int local_timer_ack(void)
+1 -1
arch/arm/mach-s3c2440/mach-osiris.c
··· 45 #include <asm/plat-s3c24xx/devs.h> 46 #include <asm/plat-s3c24xx/cpu.h> 47 48 - /* onboard perihpheral map */ 49 50 static struct map_desc osiris_iodesc[] __initdata = { 51 /* ISA IO areas (may be over-written later) */
··· 45 #include <asm/plat-s3c24xx/devs.h> 46 #include <asm/plat-s3c24xx/cpu.h> 47 48 + /* onboard perihperal map */ 49 50 static struct map_desc osiris_iodesc[] __initdata = { 51 /* ISA IO areas (may be over-written later) */
+1 -1
arch/arm/mach-sa1100/time.c
··· 25 { 26 /* 27 * According to the manual we should be able to let RTTR be zero 28 - * and then a default diviser for a 32.768KHz clock is used. 29 * Apparently this doesn't work, at least for my SA1110 rev 5. 30 * If the clock divider is uninitialized then reset it to the 31 * default value to get the 1Hz clock.
··· 25 { 26 /* 27 * According to the manual we should be able to let RTTR be zero 28 + * and then a default divisor for a 32.768KHz clock is used. 29 * Apparently this doesn't work, at least for my SA1110 rev 5. 30 * If the clock divider is uninitialized then reset it to the 31 * default value to get the 1Hz clock.
+1 -1
arch/arm/mm/alignment.c
··· 3 * 4 * Copyright (C) 1995 Linus Torvalds 5 * Modifications for ARM processor (c) 1995-2001 Russell King 6 - * Thumb aligment fault fixups (c) 2004 MontaVista Software, Inc. 7 * - Adapted from gdb/sim/arm/thumbemu.c -- Thumb instruction emulation. 8 * Copyright (C) 1996, Cygnus Software Technologies Ltd. 9 *
··· 3 * 4 * Copyright (C) 1995 Linus Torvalds 5 * Modifications for ARM processor (c) 1995-2001 Russell King 6 + * Thumb alignment fault fixups (c) 2004 MontaVista Software, Inc. 7 * - Adapted from gdb/sim/arm/thumbemu.c -- Thumb instruction emulation. 8 * Copyright (C) 1996, Cygnus Software Technologies Ltd. 9 *
+1 -1
arch/arm/mm/ioremap.c
··· 346 #ifndef CONFIG_SMP 347 /* 348 * If this is a section based mapping we need to handle it 349 - * specially as the VM subysystem does not know how to handle 350 * such a beast. We need the lock here b/c we need to clear 351 * all the mappings before the area can be reclaimed 352 * by someone else.
··· 346 #ifndef CONFIG_SMP 347 /* 348 * If this is a section based mapping we need to handle it 349 + * specially as the VM subsystem does not know how to handle 350 * such a beast. We need the lock here b/c we need to clear 351 * all the mappings before the area can be reclaimed 352 * by someone else.
+1 -1
arch/arm/mm/mmu.c
··· 92 }; 93 94 /* 95 - * These are useful for identifing cache coherency 96 * problems by allowing the cache or the cache and 97 * writebuffer to be turned off. (Note: the write 98 * buffer should not be on and the cache off).
··· 92 }; 93 94 /* 95 + * These are useful for identifying cache coherency 96 * problems by allowing the cache or the cache and 97 * writebuffer to be turned off. (Note: the write 98 * buffer should not be on and the cache off).
+1 -1
arch/arm/plat-iop/pci.c
··· 85 86 /* 87 * Simply write the address register and read the configuration 88 - * data. Note that the 4 nop's ensure that we are able to handle 89 * a delayed abort (in theory.) 90 */ 91 static u32 iop3xx_read(unsigned long addr)
··· 85 86 /* 87 * Simply write the address register and read the configuration 88 + * data. Note that the 4 nops ensure that we are able to handle 89 * a delayed abort (in theory.) 90 */ 91 static u32 iop3xx_read(unsigned long addr)
+1 -1
arch/arm/plat-omap/common.c
··· 73 } 74 if (info != NULL) { 75 /* Check the length as a lame attempt to check for 76 - * binary inconsistancy. */ 77 if (len != NO_LENGTH_CHECK) { 78 /* Word-align len */ 79 if (len & 0x03)
··· 73 } 74 if (info != NULL) { 75 /* Check the length as a lame attempt to check for 76 + * binary inconsistency. */ 77 if (len != NO_LENGTH_CHECK) { 78 /* Word-align len */ 79 if (len & 0x03)
+1 -1
arch/arm/plat-omap/dma.c
··· 1172 break; 1173 default: 1174 BUG(); 1175 - return; /* Supress warning about uninitialized vars */ 1176 } 1177 1178 if (omap_dma_in_1510_mode()) {
··· 1172 break; 1173 default: 1174 BUG(); 1175 + return; /* Suppress warning about uninitialized vars */ 1176 } 1177 1178 if (omap_dma_in_1510_mode()) {
+3 -3
arch/arm/plat-omap/sram.c
··· 59 60 /* 61 * Depending on the target RAMFS firewall setup, the public usable amount of 62 - * SRAM varies. The default accessable size for all device types is 2k. A GP 63 - * device allows ARM11 but not other initators for full size. This 64 * functionality seems ok until some nice security API happens. 65 */ 66 static int is_sram_locked(void) ··· 71 type = __raw_readl(VA_CONTROL_STAT) & TYPE_MASK; 72 73 if (type == GP_DEVICE) { 74 - /* RAMFW: R/W access to all initators for all qualifier sets */ 75 if (cpu_is_omap242x()) { 76 __raw_writel(0xFF, VA_REQINFOPERM0); /* all q-vects */ 77 __raw_writel(0xCFDE, VA_READPERM0); /* all i-read */
··· 59 60 /* 61 * Depending on the target RAMFS firewall setup, the public usable amount of 62 + * SRAM varies. The default accessible size for all device types is 2k. A GP 63 + * device allows ARM11 but not other initiators for full size. This 64 * functionality seems ok until some nice security API happens. 65 */ 66 static int is_sram_locked(void) ··· 71 type = __raw_readl(VA_CONTROL_STAT) & TYPE_MASK; 72 73 if (type == GP_DEVICE) { 74 + /* RAMFW: R/W access to all initiators for all qualifier sets */ 75 if (cpu_is_omap242x()) { 76 __raw_writel(0xFF, VA_REQINFOPERM0); /* all q-vects */ 77 __raw_writel(0xCFDE, VA_READPERM0); /* all i-read */
+1 -1
arch/arm/plat-omap/usb.c
··· 177 178 /* NOTE: SPEED and SUSP aren't configured here. OTG hosts 179 * may be able to use I2C requests to set those bits along 180 - * with VBUS switching and overcurrent detction. 181 */ 182 183 if (cpu_class_is_omap1() && nwires != 6)
··· 177 178 /* NOTE: SPEED and SUSP aren't configured here. OTG hosts 179 * may be able to use I2C requests to set those bits along 180 + * with VBUS switching and overcurrent detection. 181 */ 182 183 if (cpu_class_is_omap1() && nwires != 6)
+1 -1
arch/arm/plat-s3c24xx/dma.c
··· 1153 * 1154 * hwcfg: the value for xxxSTCn register, 1155 * bit 0: 0=increment pointer, 1=leave pointer 1156 - * bit 1: 0=soucre is AHB, 1=soucre is APB 1157 * 1158 * devaddr: physical address of the source 1159 */
··· 1153 * 1154 * hwcfg: the value for xxxSTCn register, 1155 * bit 0: 0=increment pointer, 1=leave pointer 1156 + * bit 1: 0=source is AHB, 1=source is APB 1157 * 1158 * devaddr: physical address of the source 1159 */
+1 -1
arch/arm/plat-s3c24xx/pm.c
··· 555 __raw_writel(__raw_readl(S3C2410_INTPND), S3C2410_INTPND); 556 __raw_writel(__raw_readl(S3C2410_SRCPND), S3C2410_SRCPND); 557 558 - /* call cpu specific preperation */ 559 560 pm_cpu_prep(); 561
··· 555 __raw_writel(__raw_readl(S3C2410_INTPND), S3C2410_INTPND); 556 __raw_writel(__raw_readl(S3C2410_SRCPND), S3C2410_SRCPND); 557 558 + /* call cpu specific preparation */ 559 560 pm_cpu_prep(); 561