OSDN Git Service

drm/amd/display: Fix check for null function ptr
authorAlvin Lee <Alvin.Lee2@amd.com>
Fri, 3 Dec 2021 21:29:05 +0000 (16:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Dec 2021 13:54:44 +0000 (08:54 -0500)
commite56e9ad0370a29a4bee3a99fd517d8583804fd74
tree8a7ab4dbcc9bf3d79e07043fef4e56a681305c55
parentcdbc58386bdcd33e8d9b0e0764a32aba537f3cae
drm/amd/display: Fix check for null function ptr

[Why]
Bug fix for null function ptr (should check for NULL instead of not
NULL)

[How]
Fix if condition

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Samson Tam <samson.tam@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c