diff options
| author | Victor Kamensky <[email protected]> | 2013-11-16 02:01:04 +0200 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2013-11-25 09:03:39 +0100 |
| commit | 661553b9c67c1c7496de5f603ee3d338ecad6850 (patch) | |
| tree | f54ca4d214ef2b1b06315c514422e31ae8d2c544 /include/linux/debugobjects.h | |
| parent | 4edd7901eee13f878e7b5fd5efba610e70b09313 (diff) | |
gpio/omap: raw read and write endian fix
All OMAP IP blocks expect LE data, but CPU may operate in BE mode.
Need to use endian neutral functions to read/write h/w registers.
I.e instead of __raw_read[lw] and __raw_write[lw] functions code
need to use read[lw]_relaxed and write[lw]_relaxed functions.
If the first simply reads/writes register, the second will byteswap
it if host operates in BE mode.
Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.
Signed-off-by: Victor Kamensky <[email protected]>
Signed-off-by: Taras Kondratiuk <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Acked-by: Kevin Hilman <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Tested-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions