Commit ee655c29 authored by Colin Ian King's avatar Colin Ian King Committed by Vinod Koul

dmaengine: s3c24xx: Fix spelling mistake in dev_err mistake

Fix spelling mistake, "aquire" -> "acquire" and missing newline (as
spotted by Joe Perches.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 81ceefa4
...@@ -1238,7 +1238,7 @@ static int s3c24xx_dma_probe(struct platform_device *pdev) ...@@ -1238,7 +1238,7 @@ static int s3c24xx_dma_probe(struct platform_device *pdev)
if (!s3cdma->phy_chans) if (!s3cdma->phy_chans)
return -ENOMEM; return -ENOMEM;
/* aquire irqs and clocks for all physical channels */ /* acquire irqs and clocks for all physical channels */
for (i = 0; i < pdata->num_phy_channels; i++) { for (i = 0; i < pdata->num_phy_channels; i++) {
struct s3c24xx_dma_phy *phy = &s3cdma->phy_chans[i]; struct s3c24xx_dma_phy *phy = &s3cdma->phy_chans[i];
char clk_name[6]; char clk_name[6];
...@@ -1266,7 +1266,7 @@ static int s3c24xx_dma_probe(struct platform_device *pdev) ...@@ -1266,7 +1266,7 @@ static int s3c24xx_dma_probe(struct platform_device *pdev)
sprintf(clk_name, "dma.%d", i); sprintf(clk_name, "dma.%d", i);
phy->clk = devm_clk_get(&pdev->dev, clk_name); phy->clk = devm_clk_get(&pdev->dev, clk_name);
if (IS_ERR(phy->clk) && sdata->has_clocks) { if (IS_ERR(phy->clk) && sdata->has_clocks) {
dev_err(&pdev->dev, "unable to aquire clock for channel %d, error %lu", dev_err(&pdev->dev, "unable to acquire clock for channel %d, error %lu\n",
i, PTR_ERR(phy->clk)); i, PTR_ERR(phy->clk));
continue; continue;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment