Message ID | 1248958183-15015-4-git-send-email-eduardo.valentin@nokia.com (mailing list archive) |
---|---|
State | Awaiting Upstream, archived |
Headers | show |
On Thursday 30 July 2009 15:49:26 Valentin Eduardo (Nokia-D/Helsinki) wrote: > Configure only XRDYEN and RRDYEN wakeup signals > in order to get better power consumption. > > @@ -264,9 +264,7 @@ > #define REOFEN 0x0004 > #define RFSREN 0x0002 > #define RSYNCERREN 0x0001 > -#define WAKEUPEN_ALL (XEMPTYEOFEN | XRDYEN | XEOFEN | XFSXEN | \ > - XSYNCERREN | RRDYEN | REOFEN | RFSREN | \ > - RSYNCERREN) > +#define WAKEUPEN_ALL (XRDYEN | RRDYEN) Or don't use the WAKEUPEN_ALL in the code, but replace it with (XRDYEN | RRDYEN)? It is confusing to use WAKEUPEN_ALL, which is actually _not_ enabling all wakeups.
diff --git a/arch/arm/plat-omap/include/mach/mcbsp.h b/arch/arm/plat-omap/include/mach/mcbsp.h index 758ad5c..89d1bea 100644 --- a/arch/arm/plat-omap/include/mach/mcbsp.h +++ b/arch/arm/plat-omap/include/mach/mcbsp.h @@ -264,9 +264,7 @@ #define REOFEN 0x0004 #define RFSREN 0x0002 #define RSYNCERREN 0x0001 -#define WAKEUPEN_ALL (XEMPTYEOFEN | XRDYEN | XEOFEN | XFSXEN | \ - XSYNCERREN | RRDYEN | REOFEN | RFSREN | \ - RSYNCERREN) +#define WAKEUPEN_ALL (XRDYEN | RRDYEN) /* we don't do multichannel for now */ struct omap_mcbsp_reg_cfg {
Configure only XRDYEN and RRDYEN wakeup signals in order to get better power consumption. Signed-off-by: Eduardo Valentin <eduardo.valentin@nokia.com> --- arch/arm/plat-omap/include/mach/mcbsp.h | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)