1. 18 12月, 2015 1 次提交
    • Z
      ASoC: fsl_sai: fix no frame clk in master mode · 3e3f8bd5
      Zidan Wang 提交于
      After several open/close sai test with ctrl+c, there will be
      I/O error. The SAI can't work anymore, can't recover. There
      will be no frame clock. With adding the software reset in
      trigger stop, the issue can be fixed.
      
      This is a hardware bug/errata and reset is the only option.
      
      According to the reference manual, the software reset doesn't
      reset any control register but only internal hardware logics
      such as bit clock generator, status flags, and FIFO pointers.
      (Our purpose is just to reset the clock generator while the
      software reset is the only way to do that.)
      
      Since slave mode doesn't use the clock generator, only apply
      the reset procedure to the master mode.
      
      For asynchronous mode, TX will not be reset when RX is still
      running. In this case, i can't reproduce this issue.
      Signed-off-by: NZidan Wang <zidan.wang@freescale.com>
      Acked-by: NNicolin Chen <nicoleotsuka@gmail.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      3e3f8bd5
  2. 17 12月, 2015 1 次提交
  3. 13 12月, 2015 3 次提交
  4. 11 12月, 2015 1 次提交
  5. 10 12月, 2015 1 次提交
  6. 25 11月, 2015 5 次提交
  7. 23 11月, 2015 2 次提交
  8. 20 11月, 2015 5 次提交
  9. 19 11月, 2015 1 次提交
    • V
      ASoC: Intel: Skylake: Add I2C depends for SKL machine · 4b6295b2
      Vinod Koul 提交于
      The i2c is dependency for the i2c codec drivers, so machine should depend on
      i2c. WIthout this we get build failures if I2C is not selected
      
         sound/soc/codecs/rl6347a.c: In function 'rl6347a_hw_write':
      >> sound/soc/codecs/rl6347a.c:66:8: error: implicit declaration of function
      >> 'i2c_master_send' [-Werror=implicit-function-declaration]
           ret = i2c_master_send(client, data, 4);
                 ^
         sound/soc/codecs/rl6347a.c: In function 'rl6347a_hw_read':
      >> sound/soc/codecs/rl6347a.c:114:8: error: implicit declaration of function
      >> 'i2c_transfer' [-Werror=implicit-function-declaration]
           ret = i2c_transfer(client->adapter, xfer, 2);
      Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      4b6295b2
  10. 18 11月, 2015 1 次提交
  11. 17 11月, 2015 4 次提交
  12. 16 11月, 2015 3 次提交
  13. 11 11月, 2015 5 次提交
  14. 06 11月, 2015 1 次提交
  15. 05 11月, 2015 2 次提交
  16. 04 11月, 2015 2 次提交
  17. 28 10月, 2015 1 次提交
  18. 26 10月, 2015 1 次提交
    • S
      ASoC: fsl_sai: fix Rx synchrounous mode · 3cc7780b
      Stefan Agner 提交于
      When using the Rx clock for both, transmitter and receiver, the
      transmitter needs to be set to synchronous with receiver.
      
      This reverts 855675f6 ("ASoC: fsl_sai: Set SYNC bit of TCR2 to
      Asynchronous Mode"), which, judiging from the commit log, seems to
      mixed up between the two synchronous modes: The boolean
      sai->synchronous[TX] is indicating wheather the SAI should work in
      Rx synchronous mode (sync Tx with Rx), hence if the value is true,
      the SYNC field of TCR2 needs to be set to 0x1 ("Synchronous with
      receiver").
      Signed-off-by: NStefan Agner <stefan@agner.ch>
      Acked-by: NNicolin Chen <nicoleotsuka@gmail.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      3cc7780b