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

Commit c77d0d53 authored by Prakash Gupta's avatar Prakash Gupta Committed by Gerrit - the friendly Code Review server
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 ddfad88a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 */
#ifndef _UAPI_LINUX_MSM_ION_H
#define _UAPI_LINUX_MSM_ION_H
@@ -73,7 +73,7 @@ enum ion_heap_ids {
#define ION_FLAG_CP_CDSP		ION_BIT(29)
#define ION_FLAG_CP_SPSS_HLOS_SHARED	ION_BIT(30)

#define ION_FLAGS_CP_MASK	0x7FFF0000
#define ION_FLAGS_CP_MASK	0x6FFE0000

/**
 * Flag to allow non continguous allocation of memory from secure