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

Commit 0a39db51 authored by Denis Efremov's avatar Denis Efremov Committed by Sasha Levin
Browse files

drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp()



[ Upstream commit 43a562774fceba867e8eebba977d7d42f8a2eac7 ]

Use kfree() instead of kvfree() to free rgb_user in
calculate_user_regamma_ramp() because the memory is allocated with
kcalloc().

Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 11e6b688
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment