diff options
| -rw-r--r-- | sound/soc/rockchip/rockchip_i2s.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c index 8d8e4b59049f..dd423c611d96 100644 --- a/sound/soc/rockchip/rockchip_i2s.c +++ b/sound/soc/rockchip/rockchip_i2s.c | |||
| @@ -419,6 +419,11 @@ static int rockchip_i2s_probe(struct platform_device *pdev) | |||
| 419 | dev_err(&pdev->dev, "Can't retrieve i2s bus clock\n"); | 419 | dev_err(&pdev->dev, "Can't retrieve i2s bus clock\n"); |
| 420 | return PTR_ERR(i2s->hclk); | 420 | return PTR_ERR(i2s->hclk); |
| 421 | } | 421 | } |
| 422 | ret = clk_prepare_enable(i2s->hclk); | ||
| 423 | if (ret) { | ||
| 424 | dev_err(i2s->dev, "hclock enable failed %d\n", ret); | ||
| 425 | return ret; | ||
| 426 | } | ||
| 422 | 427 | ||
| 423 | i2s->mclk = devm_clk_get(&pdev->dev, "i2s_clk"); | 428 | i2s->mclk = devm_clk_get(&pdev->dev, "i2s_clk"); |
| 424 | if (IS_ERR(i2s->mclk)) { | 429 | if (IS_ERR(i2s->mclk)) { |
