OMAP: iovmm: fix SW flags passed by user
authorOmar Ramirez Luna <omar.ramirez@ti.com>
Fri, 25 Mar 2011 20:04:31 +0000 (14:04 -0600)
committerTony Lindgren <tony@atomide.com>
Wed, 1 Jun 2011 09:25:04 +0000 (02:25 -0700)
commit50b4860d577b4bef76c71ad38ef83b9f368283c2
tree11df5169b673bc5fed55042a205813c3e799c618
parent77f7059a329fc8a514bbcc2f204aaa7c150e8046
OMAP: iovmm: fix SW flags passed by user

Commit d038aee24dcd5a2a0d8547f5396f67ae9698ac8e
"omap: iovmm: don't check 'da' to set IOVMF_DA_FIXED flag",
changes iovmm to receive flags specified by user, however
the upper 16 bits of the flags are wiped by iovmm itself.

This fixes IOVMF_DA_FIXED flags from being lost, and lets the user
map its desired "device addresses".

Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Acked-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/plat/iovmm.h
arch/arm/plat-omap/iovmm.c