Commit 2f65ec05 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Mauro Carvalho Chehab

[media] s5p-g2d: Fix error handling

According to the surrounding goto, it is likely that 'unprep_clk_gate'
was expected here.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent d251510d
...@@ -679,7 +679,7 @@ static int g2d_probe(struct platform_device *pdev) ...@@ -679,7 +679,7 @@ static int g2d_probe(struct platform_device *pdev)
0, pdev->name, dev); 0, pdev->name, dev);
if (ret) { if (ret) {
dev_err(&pdev->dev, "failed to install IRQ\n"); dev_err(&pdev->dev, "failed to install IRQ\n");
goto put_clk_gate; goto unprep_clk_gate;
} }
vb2_dma_contig_set_max_seg_size(&pdev->dev, DMA_BIT_MASK(32)); vb2_dma_contig_set_max_seg_size(&pdev->dev, DMA_BIT_MASK(32));
......
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