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

Commit fa0f26fa authored by Prakash Gupta's avatar Prakash Gupta
Browse files

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: default avatarPrakash Gupta <guptap@codeaurora.org>
parent a725f7df
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* 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