summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/misc/hdcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/hdcp.c b/drivers/misc/hdcp.c
index 7b9f2261f85b..ea81ccda4ee5 100644
--- a/drivers/misc/hdcp.c
+++ b/drivers/misc/hdcp.c
@@ -2085,7 +2085,8 @@ static void hdcp_lib_clean(struct hdcp_lib_handle *handle)
handle->authenticated = false;
/* AV mute the sink first to avoid artifacts */
- handle->client_ops->mute_sink(handle->client_ctx);
+ if (handle->client_ops->mute_sink)
+ handle->client_ops->mute_sink(handle->client_ctx);
hdcp_lib_txmtr_deinit(handle);
if (!handle->legacy_app)