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

Commit 8f62cc19 authored by Deepak Kumar's avatar Deepak Kumar
Browse files

msm: kgsl: Return ENOENT from adreno_llc_getd() stub



Return ENOENT error from adreno_llc_getd() stub in
case CONFIG_QCOM_LLCC is not defined. This is needed
to avoid throwing a warning in case LLCC is not enabled.

Change-Id: I0dea54e0edd89970f0500fffd6ae4689391d2dcb
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent 89aa84aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -73,7 +73,7 @@ static inline bool adreno_llc_supported(void)


static inline void *adreno_llc_getd(u32 uid)
static inline void *adreno_llc_getd(u32 uid)
{
{
	return ERR_PTR(-ENODEV);
	return ERR_PTR(-ENOENT);
}
}


static inline void adreno_llc_putd(void *desc)
static inline void adreno_llc_putd(void *desc)