]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Revert "ARM: OMAP3: Enable writing to XCCR and RCCR McBSP registers for OMAP 2430...
authorTony Lindgren <tony@atomide.com>
Thu, 22 Jan 2009 23:43:13 +0000 (15:43 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 22 Jan 2009 23:45:38 +0000 (15:45 -0800)
This reverts commit 3456ef483b5322ba4a7647f024e2c5b7846cd7e3.

This needs it's counterpart in in /sound/soc/omap/omap-mcbsp.c,
so let's try to get both of them merged in one series.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/mach/mcbsp.h
arch/arm/plat-omap/mcbsp.c

index 433e81064589620eea064c713fe7a8190bf4800d..9c10fe7c9d7036a19a21563acf796c38b2f33b82 100644 (file)
 #define XPBBLK(value)          ((value)<<7)    /* Bits 7:8 */
 
 /*********************** McBSP XCCR bit definitions *************************/
-#define EXTCLKGATE             0x8000
-#define PPCONNECT              0x4000
-#define DXENDLY(value)         ((value)<<12)   /* Bits 12:13 */
-#define XFULL_CYCLE            0x0800
 #define DILB                   0x0020
 #define XDMAEN                 0x0008
 #define XDISABLE               0x0001
 
 /********************** McBSP RCCR bit definitions *************************/
-#define RFULL_CYCLE            0x0800
 #define RDMAEN                 0x0008
 #define RDISABLE               0x0001
 
@@ -272,8 +267,6 @@ struct omap_mcbsp_reg_cfg {
        u16 rcerh;
        u16 xcerg;
        u16 xcerh;
-       u16 xccr;
-       u16 rccr;
 };
 
 typedef enum {
index e5842e30e534485b6a1c5faa11bbd9ce2de94272..6d70d2f6fc0b4696428619f9b7c4fec095db7ab7 100644 (file)
@@ -173,10 +173,6 @@ void omap_mcbsp_config(unsigned int id, const struct omap_mcbsp_reg_cfg *config)
        OMAP_MCBSP_WRITE(io_base, MCR2, config->mcr2);
        OMAP_MCBSP_WRITE(io_base, MCR1, config->mcr1);
        OMAP_MCBSP_WRITE(io_base, PCR0, config->pcr0);
-       if (cpu_is_omap2430() || cpu_is_omap34xx()) {
-               OMAP_MCBSP_WRITE(io_base, XCCR, config->xccr);
-               OMAP_MCBSP_WRITE(io_base, RCCR, config->rccr);
-       }
 }
 EXPORT_SYMBOL(omap_mcbsp_config);