Skip to content

Commit

Permalink
crypto: picoxcell - add connection ID to the clock name
Browse files Browse the repository at this point in the history
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: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Jamie Iles authored and Herbert Xu committed Aug 10, 2011
1 parent c3f4200 commit 4efae8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/picoxcell_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ static int __devinit spacc_probe(struct platform_device *pdev)

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)) {
dev_info(&pdev->dev, "clk unavailable\n");
device_remove_file(&pdev->dev, &dev_attr_stat_irq_thresh);
Expand Down

0 comments on commit 4efae8c

Please sign in to comment.