diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2010-10-09 00:43:45 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-10-11 19:02:03 +0200 |
commit | de65815860f187cb43551bc833bf9d72720faa01 (patch) | |
tree | 4b5e77915006be3ea6db18b39e69e58a0d465b18 /arch/arm/mach-omap2/serial.c | |
parent | Merge branch 'control_mcbsp_fix_2.6.37' of git://git.pwsan.com/linux-2.6 into... (diff) | |
download | linux-de65815860f187cb43551bc833bf9d72720faa01.tar.xz linux-de65815860f187cb43551bc833bf9d72720faa01.zip |
OMAP3: PM: fix scratchpad memory accesses for off-mode
Commit 914bab936fe0388a529079679e2f137aa4ff548d (OMAP: mach-omap2: Fix
incorrect assignment warnings) changed a pointer from 'u32 *' to
'void *' without also fixing up the pointer arithmetic.
Fix the scratchpad offsets so they are byte offsets instead of
word offsets and thus work correctly with a void pointer base.
Special thanks to Jean Pihet for taking the time track down this
problem and propose an initial solution.
Tested with off-idle and off-suspend on 36xx/Zoom3 and 34xx/omap3evm.
Cc: Manjunath Kondaiah G <manjugk@ti.com>
Reported-by: Jean Pihet <jean.pihet@newoldbits.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Tested-by: Jean Pihet <jean.pihet@newoldbits.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
0 files changed, 0 insertions, 0 deletions