crypto:starfive:fix clock diable error
authorwilliam.qiu <william.qiu@starfivetech.com>
Thu, 19 May 2022 03:00:53 +0000 (11:00 +0800)
committerwilliam.qiu <william.qiu@starfivetech.com>
Thu, 19 May 2022 03:00:53 +0000 (11:00 +0800)
Cancel the state that the encrypted clock is disabled by default

Signed-off-by: william.qiu <william.qiu@starfivetech.com>
drivers/crypto/starfive/jh7110/jh7110-sec.c

index 7b10289..bc67ab0 100644 (file)
@@ -342,9 +342,6 @@ static int jh7110_cryp_probe(struct platform_device *pdev)
        list_del(&sdev->list);
        spin_unlock(&dev_list.lock);
 
-       clk_disable_unprepare(sdev->sec_hclk);
-       clk_disable_unprepare(sdev->sec_ahb);
-
        return ret;
 }