commit | 3704cdd30aa99a4fa2551e164fe074da0e1bc1fd | [log] [tgz] |
---|---|---|
author | Flora Cui <flora.cui@amd.com> | Wed Sep 23 14:42:59 2020 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Sep 25 16:53:32 2020 -0400 |
tree | 704854243e386399b9cb5f3a009bee903ca8c9e5 | |
parent | 84d244a364d3e9e115f3d189b8bd3098968eac1d [diff] |
drm/amd/display: fix return value check for hdcp_work max_caps might be 0, thus hdcp_work might be ZERO_SIZE_PTR Signed-off-by: Flora Cui <flora.cui@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>