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

Commit 8784b285 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Make the stubbed version of cff_dump return -ENODEV



Currently the stubbed version of the cff_dump debugfs file returns
-EINVAL which is a ultra overloaded error message.  Switch it to
-NODEV to communicate more clearly to the GPU that the functionality
isn't available.

Change-Id: Ic0dedbad780497b8803f09e128c5841e9aa14f28
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 5a069b6e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -140,12 +140,12 @@ static inline int kgsl_cffdump_capture_ib_desc(struct kgsl_device *device,

static inline int kgsl_cff_dump_enable_set(void *data, u64 val)
{
	return -EINVAL;
	return -ENODEV;
}

static inline int kgsl_cff_dump_enable_get(void *data, u64 *val)
{
	return -EINVAL;
	return -ENODEV;
}

#endif /* CONFIG_MSM_KGSL_CFF_DUMP */