1. 16 4月, 2018 4 次提交
  2. 28 3月, 2018 2 次提交
  3. 22 3月, 2018 1 次提交
    • J
      ASoC: nau8824: recover system clock when device changes · b53117c0
      John Hsu 提交于
      User reports an issue in Ubuntu about the device switch upon playback.
      We find the FLL will disalbe when switching headphone to speaker.
      The pulseaudio will stop the headphone and close its power. Then,
      it just opens the speaker and turn on its power. Therefore,
      the supply of system clock does the OFF event and disables FLL.
      But the FLL doesn't enable again when the speaker powers on.
      
      The patch adds the recovery of system clock to enable FLL again
      for this case. And it covers the case that system clock from MCLK.
      Signed-off-by: NJohn Hsu <KCHSU0@nuvoton.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      b53117c0
  4. 20 3月, 2018 4 次提交
    • K
      ASoC: twl6040: remove duplicated remove callback · 83eca9f5
      Kuninori Morimoto 提交于
      We don't need 2 .remove callback
      
      Fixes: 7480389f ("ASoC: twl6040: replace codec to component")
      Reported-by: NJulia Lawall <julia.lawall@lip6.fr>
      Reported-by: Nkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Acked-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      83eca9f5
    • B
      ASoC: rt298: don't turn off HV and VREF if headset is detected · 40d2677b
      Bard Liao 提交于
      "HV" and "VREF" will be powered up when jack type detection process is
      started and will be powered off when jack type detection process is finished.
      It will generate an unexpected interrupt signal when they are powered
      up during the capture process. Codec driver will do the jack type detection
      process and we can't capture properly before the jack detection process is
      finished. This patch will not power off the "HV" and "VREF" widgets if
      headset is detected and it will solve the unexpected interrupt issue. As a
      result, it will also solve the silence data captured at the beginning in
      headset mic recording issue.
      Signed-off-by: NBard Liao <bardliao@realtek.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      40d2677b
    • B
      ASoC: rt286: don't turn off HV and VREF if headset is detected · 8153362e
      Bard Liao 提交于
      "HV" and "VREF" will be powered up when jack type detection process is
      started and will be powered off when jack type detection process is finished.
      It will generate an unexpected interrupt signal when they are powered
      up during the capture process. Codec driver will do the jack type detection
      process and we can't capture properly before the jack detection process is
      finished. This patch will not power off the "HV" and "VREF" widgets if
      headset is detected and it will solve the unexpected interrupt issue. As a
      result, it will also solve the silence data captured at the beginning in
      headset mic recording issue.
      Signed-off-by: NBard Liao <bardliao@realtek.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      8153362e
    • J
      ASoC: ssm2602: Replace reg_default_raw with reg_default · a01df75c
      James Kelly 提交于
      SSM2602 driver is broken on recent kernels (at least
      since 4.9). User space applications such as amixer or
      alsamixer get EIO when attempting to access codec
      controls via the relevant IOCTLs.
      
      Root cause of these failures is the regcache_hw_init
      function in drivers/base/regmap/regcache.c, which
      prevents regmap cache initalization from the
      reg_defaults_raw element of the regmap_config structure
      when registers are write only. It also disables the
      regmap cache entirely when all registers are write only
      or volatile as is the case for the SSM2602 driver.
      
      Using the reg_defaults element of the regmap_config
      structure rather than the reg_defaults_raw element to
      initalize the regmap cache avoids the logic in the
      regcache_hw_init function entirely. It also makes this
      driver consistent with other ASoC codec drivers, as
      this driver was the ONLY codec driver that used the
      reg_defaults_raw element to initalize the cache.
      
      Tested on Digilent Zybo Z7 development board which has
      a SSM2603 codec chip connected to a Xilinx Zynq SoC.
      Signed-off-by: NJames Kelly <jamespeterkelly@gmail.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      Cc: stable@vger.kernel.org
      a01df75c
  5. 19 3月, 2018 4 次提交
  6. 15 3月, 2018 1 次提交
  7. 14 3月, 2018 1 次提交
  8. 13 3月, 2018 5 次提交
  9. 10 3月, 2018 1 次提交
    • A
      ASoC: da7219: Add common clock usage for providing DAI clks · fc8f7ea2
      Adam Thomson 提交于
      There is a need to use DA7219 as DAI clock master for other codecs
      within a system, which means that the DAI clocks are required to
      remain, regardless of whether the codec is actually running
      playback/capture. To be able to expose control of the DAI clocking
      the common clock framework has been employed.
      
      The current implementation adds a simple clock gate for enabling
      and disabling the DAI clocks, with no rate control supported
      (this is still handled through standard hw_params() functions as
      before). If DT is enabled then the clock is added to the OF
      providers list, otherwise a clkdev lookup is used.
      Signed-off-by: NAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      fc8f7ea2
  10. 09 3月, 2018 1 次提交
  11. 07 3月, 2018 8 次提交
  12. 02 3月, 2018 8 次提交