Skip to content

Commit

Permalink
ti pwm clock matching fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dlech committed May 7, 2016
1 parent ca0d81b commit c7d7888
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/pwm/pwm-tiecap.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static int ecap_pwm_probe(struct platform_device *pdev)
if (!pc)
return -ENOMEM;

clk = devm_clk_get(&pdev->dev, "fck");
clk = devm_clk_get(&pdev->dev, "ecap");
if (IS_ERR(clk)) {
dev_err(&pdev->dev, "failed to get clock\n");
return PTR_ERR(clk);
Expand Down
2 changes: 1 addition & 1 deletion drivers/pwm/pwm-tiehrpwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ static int ehrpwm_pwm_probe(struct platform_device *pdev)
if (!pc)
return -ENOMEM;

clk = devm_clk_get(&pdev->dev, "fck");
clk = devm_clk_get(&pdev->dev, "ehrpwm");
if (IS_ERR(clk)) {
dev_err(&pdev->dev, "failed to get clock\n");
return PTR_ERR(clk);
Expand Down

0 comments on commit c7d7888

Please sign in to comment.