drm/amd/display: fix psp return condition for hdcp module
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Thu, 12 Dec 2019 16:44:18 +0000 (11:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 17:13:05 +0000 (12:13 -0500)
commit4f47cd0c01851065a85d684c619e1dba8fa9c167
treee1f1a6da32f336a295fe16b595637a95b8702ef1
parentb0d7ecd7633a6004c465a8dba205a66646324b7f
drm/amd/display: fix psp return condition for hdcp module

We are returning SUCCESS when hdcp_status != Success. Fix it.

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c