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

Commit a9ddd118 authored by Jeya R's avatar Jeya R
Browse files

msm: adsprpc: Add capability for error code change in kernel



Add capability for error code change in kernel.

Acked-by: default avatarDeepika Singh <dsi@qti.qualcomm.com>
Change-Id: Ifc3967be16935b64143664f4ff076e390c69a6f7
Signed-off-by: default avatarJeya R <jeyr@codeaurora.org>
parent 55d1e41a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -636,8 +636,10 @@ static int hlosvmperm[1] = {PERM_READ | PERM_WRITE | PERM_EXEC};

static uint32_t kernel_capabilities[FASTRPC_MAX_ATTRIBUTES -
					FASTRPC_MAX_DSP_ATTRIBUTES] = {
	1
	1,
	/* PERF_LOGGING_V2_SUPPORT feature is supported, unsupported = 0 */
	1
	/* Fastrpc Driver error code changes present */
};

static inline void fastrpc_pm_awake(struct fastrpc_file *fl, int channel_type);
+1 −1
Original line number Diff line number Diff line
@@ -426,7 +426,7 @@ struct fastrpc_ioctl_control {
};

#define FASTRPC_MAX_DSP_ATTRIBUTES	(256)
#define FASTRPC_MAX_ATTRIBUTES	(257)
#define FASTRPC_MAX_ATTRIBUTES	(258)
#define ASYNC_FASTRPC_CAP (9)

struct fastrpc_ioctl_capability {