Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Enable The I2S MCLK

2442

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
2442
Posted at 2/16/2016 17:01:11      1#
jonsmirl Posted at 10/27/2015 05:07
The I2S section is also missing support for enabling an external I2S clock.

[size=13.63636302948px]try to add the following codec to enable I2s0 clk in rk30_i2s.c :

   i2s->clk_i2s_2ch_out = clk_get(&pdev->dev, "clk_i2s_2ch_out");
  if (IS_ERR(i2s->clk_i2s_2ch_out)) {
    dev_err(&pdev->dev, "Can't retrieve clk_i2s_2ch_out\n");
    ret = PTR_ERR(i2s->clk_i2s_2ch_out);
    goto err;
  }
    clk_prepare_enable(i2s->clk_i2s_2ch_out);

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list