ion: msm: Fix ION_FLAGS_CP_MASK value

ION_FLAGS_CP_MASK is used to mask out non ION CP flags, but currently
include few non ION CP flags. Fix it.

Change-Id: I2cba987c3e51bfbe4033c89f49fbb8c1806447c3
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
This commit is contained in:
Prakash Gupta
2019-02-21 15:57:31 +05:30
committed by Michael Bestas
parent 5f5331ec59
commit 52a97f38d8

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2017, 2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -22,7 +22,7 @@ enum ion_permission_type {
IPT_TYPE_MDP_WRITEBACK = 2,
};
#define ION_FLAGS_CP_MASK 0x7FFF0000
#define ION_FLAGS_CP_MASK 0x6FFE0000
/*
* This flag allows clients when mapping into the IOMMU to specify to