]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Revert recent fixes to move them to omap-fixes branch
authorTony Lindgren <tony@atomide.com>
Fri, 3 Apr 2009 23:16:48 +0000 (16:16 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 3 Apr 2009 23:16:48 +0000 (16:16 -0700)
These will get merged back from omap-fixes.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/kernel/head.S
drivers/i2c/busses/i2c-omap.c
drivers/mmc/host/omap.c

index 1bc918cbdb189989878981ae375657b31f0e9b8e..21e17dc94cb56757f6f25f05b61ba4c2d6e095ca 100644 (file)
@@ -282,7 +282,7 @@ __create_page_tables:
        .endif
        str     r6, [r0]
 
-#if defined(CONFIG_DEBUG_LL) || defined(CONFIG_DEBUG_SPINLOCK)
+#ifdef CONFIG_DEBUG_LL
        ldr     r7, [r10, #PROCINFO_IO_MMUFLAGS] @ io_mmuflags
        /*
         * Map in IO space for serial debugging.
index 9919c086ff5d8188edb034ec2b578bf8bce64932..ece0125a1ee520710f1e4ac18cd7b8eea83f0422 100644 (file)
@@ -672,9 +672,8 @@ omap_i2c_isr(int this_irq, void *dev_id)
                                if (stat & OMAP_I2C_STAT_RRDY)
                                        num_bytes = dev->fifo_size;
                                else
-                                       num_bytes = (omap_i2c_read_reg(dev,
-                                                       OMAP_I2C_BUFSTAT_REG)
-                                                       >> 8) & 0x3F;
+                                       num_bytes = omap_i2c_read_reg(dev,
+                                                       OMAP_I2C_BUFSTAT_REG);
                        }
                        while (num_bytes) {
                                num_bytes--;
@@ -712,9 +711,8 @@ omap_i2c_isr(int this_irq, void *dev_id)
                                if (stat & OMAP_I2C_STAT_XRDY)
                                        num_bytes = dev->fifo_size;
                                else
-                                       num_bytes = (omap_i2c_read_reg(dev,
-                                                       OMAP_I2C_BUFSTAT_REG))
-                                                       & 0x3F;
+                                       num_bytes = omap_i2c_read_reg(dev,
+                                                       OMAP_I2C_BUFSTAT_REG);
                        }
                        while (num_bytes) {
                                num_bytes--;
index bfa25c01c8722f17684520b1ab3adfee9bdef193..5570849188cc806032cab4791ab3ce10706a51f2 100644 (file)
@@ -157,6 +157,8 @@ struct mmc_omap_host {
        struct timer_list       dma_timer;
        unsigned                dma_len;
 
+       short                   power_pin;
+
        struct mmc_omap_slot    *slots[OMAP_MMC_MAX_SLOTS];
        struct mmc_omap_slot    *current_slot;
        spinlock_t              slot_lock;