···66 * copy data to/from buffers located outside the DMA region. This77 * only works for systems in which DMA memory is at the bottom of88 * RAM, the remainder of memory is at the top and the DMA memory99- * can be marked as ZONE_DMA. Anything beyond that such as discontigous99+ * can be marked as ZONE_DMA. Anything beyond that such as discontiguous1010 * DMA windows will require custom implementations that reserve memory1111 * areas at early bootup.1212 *
+1-1
arch/arm/common/gic.c
···7272 * unmask it, in the same way we need to unmask an interrupt when7373 * we first enable it.7474 *7575- * The GIC has a seperate notion of "end of interrupt" to re-enable7575+ * The GIC has a separate notion of "end of interrupt" to re-enable7676 * an interrupt after handling, in order to support hardware7777 * prioritisation.7878 *
+1-1
arch/arm/common/sharpsl_param.c
···2020 * typically including LCD parameters are loaded by the bootloader at the2121 * address PARAM_BASE. As the kernel will overwrite them, we need to store2222 * them early in the boot process, then pass them to the appropriate drivers.2323- * Not all devices use all paramaters but the format is common to all.2323+ * Not all devices use all parameters but the format is common to all.2424 */2525#ifdef CONFIG_ARCH_SA11002626#define PARAM_BASE 0xe8ffc000
+5-5
arch/arm/common/sharpsl_pm.c
···291291}292292293293/* Charging Finished Interrupt (Not present on Corgi) */294294-/* Can trigger at the same time as an AC staus change so294294+/* Can trigger at the same time as an AC status change so295295 delay until after that has been processed */296296irqreturn_t sharpsl_chrg_full_isr(int irq, void *dev_id)297297{···635635636636static int sharpsl_off_charge_error(void)637637{638638- dev_err(sharpsl_pm.dev, "Offline Charger: Error occured.\n");638638+ dev_err(sharpsl_pm.dev, "Offline Charger: Error occurred.\n");639639 sharpsl_pm.machinfo->charge(0);640640 sharpsl_pm_led(SHARPSL_LED_ERROR);641641 sharpsl_pm.charge_mode = CHRG_ERROR;···691691692692 time = RCNR;693693 while(1) {694694- /* Check if any wakeup event had occured */694694+ /* Check if any wakeup event had occurred */695695 if (sharpsl_pm.machinfo->charger_wakeup() != 0)696696 return 0;697697 /* Check for timeout */698698 if ((RCNR - time) > SHARPSL_WAIT_CO_TIME)699699 return 1;700700 if (sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_CHRGFULL)) {701701- dev_dbg(sharpsl_pm.dev, "Offline Charger: Charge full occured. Retrying to check\n");701701+ dev_dbg(sharpsl_pm.dev, "Offline Charger: Charge full occurred. Retrying to check\n");702702 sharpsl_pm.full_count++;703703 sharpsl_pm.machinfo->charge(0);704704 mdelay(SHARPSL_CHARGE_WAIT_TIME);···714714715715 time = RCNR;716716 while(1) {717717- /* Check if any wakeup event had occured */717717+ /* Check if any wakeup event had occurred */718718 if (sharpsl_pm.machinfo->charger_wakeup() != 0)719719 return 0;720720 /* Check for timeout */
+1-1
arch/arm/kernel/sys_arm.c
···320320EXPORT_SYMBOL(kernel_execve);321321322322/*323323- * Since loff_t is a 64 bit type we avoid a lot of ABI hastle323323+ * Since loff_t is a 64 bit type we avoid a lot of ABI hassle324324 * with a different argument ordering.325325 */326326asmlinkage long sys_arm_fadvise64_64(int fd, int advice,
+1-1
arch/arm/lib/bitops.h
···4747 * @store: store instruction4848 *4949 * Note: we can trivially conditionalise the store instruction5050- * to avoid dirting the data cache.5050+ * to avoid dirtying the data cache.5151 */5252 .macro testop, instr, store5353 add r1, r1, r0, lsr #3
···245245 if(mpctl0) {246246 CSCR |= CSCR_MPLL_RESTART;247247248248- /* Wait until MPLL is stablized */248248+ /* Wait until MPLL is stabilized */249249 while( CSCR & CSCR_MPLL_RESTART );250250251251 imx_set_async_mode();
+4-4
arch/arm/mach-imx/dma.c
···131131 * The function setups DMA channel source and destination addresses for transfer132132 * specified by provided parameters. The scatter-gather emulation is disabled,133133 * because linear data block134134- * form the physical address range is transfered.134134+ * form the physical address range is transferred.135135 * Return value: if incorrect parameters are provided -%EINVAL.136136 * Zero indicates success.137137 */···192192 * @dmamode: DMA transfer mode, %DMA_MODE_READ from the device to the memory193193 * or %DMA_MODE_WRITE from memory to the device194194 *195195- * The function setups DMA channel state and registers to be ready for transfer195195+ * The function sets up DMA channel state and registers to be ready for transfer196196 * specified by provided parameters. The scatter-gather emulation is set up197197 * according to the parameters.198198 *···212212 *213213 * %CCR_SMOD_LINEAR | %CCR_SSIZ_32 | %CCR_DMOD_FIFO | %CCR_DSIZ_x214214 *215215- * Be carefull there and do not mistakenly mix source and target device215215+ * Be careful here and do not mistakenly mix source and target device216216 * port sizes constants, they are really different:217217 * %CCR_SSIZ_8, %CCR_SSIZ_16, %CCR_SSIZ_32,218218 * %CCR_DSIZ_8, %CCR_DSIZ_16, %CCR_DSIZ_32···495495 /*496496 * The cleaning of @sg field would be questionable497497 * there, because its value can help to compute498498- * remaining/transfered bytes count in the handler498498+ * remaining/transferred bytes count in the handler499499 */500500 /*imx_dma_channels[i].sg = NULL;*/501501
+1-1
arch/arm/mach-iop13xx/pci.c
···989989 "imprecise external abort");990990}991991992992-/* intialize the pci memory space. handle any combination of992992+/* initialize the pci memory space. handle any combination of993993 * atue and atux enabled/disabled994994 */995995int iop13xx_pci_setup(int nr, struct pci_sys_data *sys)
···195195 * instances of the kernel. So far so good. Peers on the PCI bus running 196196 * Linux is a common design in telecom systems. The problem is that instead 197197 * of all the devices being controlled by a single host, different198198- * devices are controlles by different NPUs on the same bus, leading to198198+ * devices are controlled by different NPUs on the same bus, leading to199199 * multiple hosts on the bus. The exact bus layout looks like:200200 *201201 * Bus 0···211211 * | | | | |212212 * ... Dev PMC Media Eth0 Eth1 ...213213 *214214- * The master controlls all but Eth1, which is controlled by the214214+ * The master controls all but Eth1, which is controlled by the215215 * slave. What this means is that the both the master and the slave216216 * have to scan the bus, but only one of them can enumerate the bus.217217 * In addition, after the bus is scanned, each kernel must remove
+3-3
arch/arm/mach-ixp2000/ixdp2x01.c
···276276 /* Device is located after first MB bridge */277277 case 0x0008:278278 if (tmp_bus == dev->bus) {279279- /* Device is located directy after first MB bridge */279279+ /* Device is located directly after first MB bridge */280280 switch (devpin) {281281 case DEVPIN(1, 1): /* Onboard 82546 ch 0 */282282 if (machine_is_ixdp2401())···299299 break;300300 case 0x0010:301301 if (tmp_bus == dev->bus) {302302- /* Device is located directy after second MB bridge */302302+ /* Device is located directly after second MB bridge */303303 /* Secondary bus of second bridge */304304 switch (devpin) {305305 case DEVPIN(0, 1): /* DB#0 */···348348subsys_initcall(ixdp2x01_pci_init);349349350350/*************************************************************************351351- * IXDP2x01 Machine Intialization351351+ * IXDP2x01 Machine Initialization352352 *************************************************************************/353353static struct flash_platform_data ixdp2x01_flash_platform_data = {354354 .map_name = "cfi_probe",
+1-1
arch/arm/mach-ixp2000/pci.c
···102102}103103104104/*105105- * We don't do error checks by callling clear_master_aborts() b/c the105105+ * We don't do error checks by calling clear_master_aborts() b/c the106106 * assumption is that the caller did a read first to make sure a device107107 * exists.108108 */
···11/*22 * arch/arm/mach-ixp4xx/gtwx5715-setup.c33 *44- * Gemtek GTWX5715 (Linksys WRV54G) board settup44+ * Gemtek GTWX5715 (Linksys WRV54G) board setup55 *66 * Copyright (C) 2004 George T. Joseph77 * Derived from Coyote
+3-3
arch/arm/mach-lh7a40x/lcd-panel.h
···126126127127 */128128129129-/* The full horozontal cycle (Th) is clock/360/400/450. */129129+/* The full horizontal cycle (Th) is clock/360/400/450. */130130/* The full vertical cycle (Tv) is line/251/262/280. */131131132132#define PIX_CLOCK_TARGET (6300000) /* -/6.3/7 MHz */···162162 /* Logic Product Development LCD 6.4" VGA -10 */163163 /* Sharp PN LQ64D343 */164164165165-/* The full horozontal cycle (Th) is clock/750/800/900. */165165+/* The full horizontal cycle (Th) is clock/750/800/900. */166166/* The full vertical cycle (Tv) is line/515/525/560. */167167168168#define PIX_CLOCK_TARGET (28330000)···243243 * (fdisk, e2fsck). And, at that speed the display may have a visible244244 * flicker. */245245246246-/* The full horozontal cycle (Th) is clock/832/1056/1395. */246246+/* The full horizontal cycle (Th) is clock/832/1056/1395. */247247248248#define PIX_CLOCK_TARGET (20000000)249249#define PIX_CLOCK_DIVIDER CLOCK_TO_DIV (PIX_CLOCK_TARGET, HCLK)
+1-1
arch/arm/mach-ns9xxx/time.c
···3535{3636 /* return the microseconds which have passed since the last interrupt3737 * was _serviced_. That is, if an interrupt is pending or the counter3838- * reloads, return one periode more. */3838+ * reloads, return one period more. */39394040 u32 counter1 = SYS_TR(0);4141 int pending = SYS_ISR & (1 << IRQ_TIMER0);
+1-1
arch/arm/mach-omap1/board-osk.c
···385385 /* Workaround for wrong CS3 (NOR flash) timing386386 * There are some U-Boot versions out there which configure387387 * wrong CS3 memory timings. This mainly leads to CRC388388- * or similiar errors if you use NOR flash (e.g. with JFFS2)388388+ * or similar errors if you use NOR flash (e.g. with JFFS2)389389 */390390 if (EMIFS_CCS(3) != EMIFS_CS3_VAL)391391 EMIFS_CCS(3) = EMIFS_CS3_VAL;
+1-1
arch/arm/mach-omap1/board-palmte.c
···77 *88 * Original version : Laurent Gonzalez99 *1010- * Maintainters : http://palmtelinux.sf.net1010+ * Maintainers : http://palmtelinux.sf.net1111 * palmtelinux-developpers@lists.sf.net1212 *1313 * This program is free software; you can redistribute it and/or modify
···443443444444/*445445 * Check the DLL lock state, and return tue if running in unlock mode.446446- * This is needed to compenste for the shifted DLL value in unlock mode.446446+ * This is needed to compensate for the shifted DLL value in unlock mode.447447 */448448static u32 omap2_dll_force_needed(void)449449{
+2-2
arch/arm/mach-omap2/clock.h
···338338/*339339 * These represent optimal values for common parts, it won't work for all.340340 * As long as you scale down, most parameters are still work, they just341341- * become sub-optimal. The RFR value goes in the oppisite direction. If you341341+ * become sub-optimal. The RFR value goes in the opposite direction. If you342342 * don't adjust it down as your clock period increases the refresh interval343343 * will not be met. Setting all parameters for complete worst case may work,344344 * but may cut memory performance by 2x. Due to errata the DLLs need to be···384384 * Filling in table based on H4 boards and 2430-SDPs variants available.385385 * There are quite a few more rates combinations which could be defined.386386 *387387- * When multiple values are defiend the start up will try and choose the387387+ * When multiple values are defined the start up will try and choose the388388 * fastest one. If a 'fast' value is defined, then automatically, the /2389389 * one should be included as it can be used. Generally having more that390390 * one fast set does not make sense, as static timings need to be changed
+5-5
arch/arm/mach-pxa/corgi_lcd.c
···4040#define PICTRL_ADRS 0x064141#define POLCTRL_ADRS 0x0742424343-/* Resgister Bit Definitions */4343+/* Register Bit Definitions */4444#define RESCTL_QVGA 0x014545#define RESCTL_VGA 0x004646···5555#define POWER0_COM_DCLK 0x01 /* COM Voltage DC Bias DAC Serial Data Clock */5656#define POWER0_COM_DOUT 0x02 /* COM Voltage DC Bias DAC Serial Data Out */5757#define POWER0_DAC_ON 0x04 /* DAC Power Supply ON */5858-#define POWER0_COM_ON 0x08 /* COM Powewr Supply ON */5858+#define POWER0_COM_ON 0x08 /* COM Power Supply ON */5959#define POWER0_VCC5_ON 0x10 /* VCC5 Power Supply ON */60606161#define POWER0_DAC_OFF 0x00 /* DAC Power Supply OFF */6262-#define POWER0_COM_OFF 0x00 /* COM Powewr Supply OFF */6262+#define POWER0_COM_OFF 0x00 /* COM Power Supply OFF */6363#define POWER0_VCC5_OFF 0x00 /* VCC5 Power Supply OFF */64646565#define PICTRL_INIT_STATE 0x01···145145 lcdtg_i2c_send_stop(base_data);146146}147147148148-/* Set Phase Adjuct */148148+/* Set Phase Adjust */149149static void lcdtg_set_phadadj(int mode)150150{151151 int adj;···226226 /* Signals output enable */227227 corgi_ssp_lcdtg_send(PICTRL_ADRS, 0);228228229229- /* Set Phase Adjuct */229229+ /* Set Phase Adjust */230230 lcdtg_set_phadadj(mode);231231232232 /* Initialize for Input Signals from ATI */
+1-1
arch/arm/mach-pxa/corgi_ssp.c
···3232 * There are three devices connected to the SSP interface:3333 * 1. A touchscreen controller (TI ADS7846 compatible)3434 * 2. An LCD contoller (with some Backlight functionality)3535- * 3. A battery moinitoring IC (Maxim MAX1111)3535+ * 3. A battery monitoring IC (Maxim MAX1111)3636 *3737 * Each device uses a different speed/mode of communication.3838 *
+1-1
arch/arm/mach-realview/localtimer.c
···3030/*3131 * local_timer_ack: checks for a local timer interrupt.3232 *3333- * If a local timer interrupt has occured, acknowledge and return 1.3333+ * If a local timer interrupt has occurred, acknowledge and return 1.3434 * Otherwise, return 0.3535 */3636int local_timer_ack(void)
+1-1
arch/arm/mach-s3c2440/mach-osiris.c
···4545#include <asm/plat-s3c24xx/devs.h>4646#include <asm/plat-s3c24xx/cpu.h>47474848-/* onboard perihpheral map */4848+/* onboard perihperal map */49495050static struct map_desc osiris_iodesc[] __initdata = {5151 /* ISA IO areas (may be over-written later) */
+1-1
arch/arm/mach-sa1100/time.c
···2525{2626 /*2727 * According to the manual we should be able to let RTTR be zero2828- * and then a default diviser for a 32.768KHz clock is used.2828+ * and then a default divisor for a 32.768KHz clock is used.2929 * Apparently this doesn't work, at least for my SA1110 rev 5.3030 * If the clock divider is uninitialized then reset it to the3131 * default value to get the 1Hz clock.
+1-1
arch/arm/mm/alignment.c
···33 *44 * Copyright (C) 1995 Linus Torvalds55 * Modifications for ARM processor (c) 1995-2001 Russell King66- * Thumb aligment fault fixups (c) 2004 MontaVista Software, Inc.66+ * Thumb alignment fault fixups (c) 2004 MontaVista Software, Inc.77 * - Adapted from gdb/sim/arm/thumbemu.c -- Thumb instruction emulation.88 * Copyright (C) 1996, Cygnus Software Technologies Ltd.99 *
+1-1
arch/arm/mm/ioremap.c
···346346#ifndef CONFIG_SMP347347 /*348348 * If this is a section based mapping we need to handle it349349- * specially as the VM subysystem does not know how to handle349349+ * specially as the VM subsystem does not know how to handle350350 * such a beast. We need the lock here b/c we need to clear351351 * all the mappings before the area can be reclaimed352352 * by someone else.
+1-1
arch/arm/mm/mmu.c
···9292};93939494/*9595- * These are useful for identifing cache coherency9595+ * These are useful for identifying cache coherency9696 * problems by allowing the cache or the cache and9797 * writebuffer to be turned off. (Note: the write9898 * buffer should not be on and the cache off).
+1-1
arch/arm/plat-iop/pci.c
···85858686/*8787 * Simply write the address register and read the configuration8888- * data. Note that the 4 nop's ensure that we are able to handle8888+ * data. Note that the 4 nops ensure that we are able to handle8989 * a delayed abort (in theory.)9090 */9191static u32 iop3xx_read(unsigned long addr)
+1-1
arch/arm/plat-omap/common.c
···7373 }7474 if (info != NULL) {7575 /* Check the length as a lame attempt to check for7676- * binary inconsistancy. */7676+ * binary inconsistency. */7777 if (len != NO_LENGTH_CHECK) {7878 /* Word-align len */7979 if (len & 0x03)
+1-1
arch/arm/plat-omap/dma.c
···11721172 break;11731173 default:11741174 BUG();11751175- return; /* Supress warning about uninitialized vars */11751175+ return; /* Suppress warning about uninitialized vars */11761176 }1177117711781178 if (omap_dma_in_1510_mode()) {
+3-3
arch/arm/plat-omap/sram.c
···59596060/*6161 * Depending on the target RAMFS firewall setup, the public usable amount of6262- * SRAM varies. The default accessable size for all device types is 2k. A GP6363- * device allows ARM11 but not other initators for full size. This6262+ * SRAM varies. The default accessible size for all device types is 2k. A GP6363+ * device allows ARM11 but not other initiators for full size. This6464 * functionality seems ok until some nice security API happens.6565 */6666static int is_sram_locked(void)···7171 type = __raw_readl(VA_CONTROL_STAT) & TYPE_MASK;72727373 if (type == GP_DEVICE) {7474- /* RAMFW: R/W access to all initators for all qualifier sets */7474+ /* RAMFW: R/W access to all initiators for all qualifier sets */7575 if (cpu_is_omap242x()) {7676 __raw_writel(0xFF, VA_REQINFOPERM0); /* all q-vects */7777 __raw_writel(0xCFDE, VA_READPERM0); /* all i-read */
+1-1
arch/arm/plat-omap/usb.c
···177177178178 /* NOTE: SPEED and SUSP aren't configured here. OTG hosts179179 * may be able to use I2C requests to set those bits along180180- * with VBUS switching and overcurrent detction.180180+ * with VBUS switching and overcurrent detection.181181 */182182183183 if (cpu_class_is_omap1() && nwires != 6)
+1-1
arch/arm/plat-s3c24xx/dma.c
···11531153 *11541154 * hwcfg: the value for xxxSTCn register,11551155 * bit 0: 0=increment pointer, 1=leave pointer11561156- * bit 1: 0=soucre is AHB, 1=soucre is APB11561156+ * bit 1: 0=source is AHB, 1=source is APB11571157 *11581158 * devaddr: physical address of the source11591159*/
+1-1
arch/arm/plat-s3c24xx/pm.c
···555555 __raw_writel(__raw_readl(S3C2410_INTPND), S3C2410_INTPND);556556 __raw_writel(__raw_readl(S3C2410_SRCPND), S3C2410_SRCPND);557557558558- /* call cpu specific preperation */558558+ /* call cpu specific preparation */559559560560 pm_cpu_prep();561561