Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4efae8c9 authored by Jamie Iles's avatar Jamie Iles Committed by Herbert Xu
Browse files

crypto: picoxcell - add connection ID to the clock name



For using the device tree probing we use a connection ID for the
clk_get() operation.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarJamie Iles <jamie@jamieiles.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent c3f4200f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1724,7 +1724,7 @@ static int __devinit spacc_probe(struct platform_device *pdev)


	spin_lock_init(&engine->hw_lock);
	spin_lock_init(&engine->hw_lock);


	engine->clk = clk_get(&pdev->dev, NULL);
	engine->clk = clk_get(&pdev->dev, "ref");
	if (IS_ERR(engine->clk)) {
	if (IS_ERR(engine->clk)) {
		dev_info(&pdev->dev, "clk unavailable\n");
		dev_info(&pdev->dev, "clk unavailable\n");
		device_remove_file(&pdev->dev, &dev_attr_stat_irq_thresh);
		device_remove_file(&pdev->dev, &dev_attr_stat_irq_thresh);