Revert "video: tegra: hdcp: Add Missing Lock"
Matt Wagner [Thu, 23 Aug 2012 18:31:53 +0000 (11:31 -0700)]
This reverts commit 77c8da0aa18fad9e33fd8b1afb2013b1a476d74e.

Bug 1030468
Bug 1030415

Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Change-Id: I2b85159dfcfc40b3a3632dc1300c729e0977a18f
Reviewed-on: http://git-master/r/126946
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

drivers/video/tegra/dc/nvhdcp.c

index 30b508c..b509a6c 100644 (file)
@@ -841,9 +841,7 @@ static void nvhdcp_downstream_worker(struct work_struct *work)
                nvhdcp_err("nvhdcp failure - giving up\n");
                goto err;
        }
-       mutex_lock(&nvhdcp->state_lock);
        nvhdcp->state = STATE_UNAUTHENTICATED;
-       mutex_unlock(&nvhdcp->state_lock);
 
        /* check plug state to terminate early in case flush_workqueue() */
        if (!nvhdcp_is_plugged(nvhdcp)) {