Skip to content
Commit c92e32d8 authored by Denis Efremov's avatar Denis Efremov Committed by Paul Gortmaker
Browse files

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



commit 43a56277 upstream.

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 avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent e2f71e14
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