Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c97d0ad authored by Sudarshan Rajagopalan's avatar Sudarshan Rajagopalan
Browse files

dma-iommu: Fix DMA_ATTR_PRIVILEGED flag definition



DMA_ATTR_PRIVILEGED flag uses bit position 9. This is
already being defined for another flag. Also remove
duplicated definition of DMA_ATTR_SKIP_ZEROING.

Change-Id: Iec14cbcffc907108452f1f70e6888e981896d272
Signed-off-by: default avatarSudarshan Rajagopalan <sudaraja@codeaurora.org>
parent 210fe280
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -111,12 +111,7 @@
 * accessible at an elevated privilege level (and ideally inaccessible or
 * at least read-only at lesser-privileged levels).
 */
#define DMA_ATTR_PRIVILEGED		(1UL << 9)

/*
 * DMA_ATTR_SKIP_ZEROING: Do not zero mapping.
 */
#define DMA_ATTR_SKIP_ZEROING		(1UL << 10)
#define DMA_ATTR_PRIVILEGED		(1UL << 17)

#define DMA_ERROR_CODE       (~(dma_addr_t)0)