1. 06 1月, 2018 1 次提交
    • T
      Merge tag 'asoc-v4.16' of... · 2c82e8ea
      Takashi Iwai 提交于
      Merge tag 'asoc-v4.16' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
      
      ASoC: Updates for v4.16
      
      Quite a big update here, mostly in new device support and some big
      updates for older drivers too.  The main core work continues to be
      Morimoto-san's efforts on modernising drivers to use the component
      layer.
      
       - Lots more updates from Morimoto-san to move more things into the
         component level.
       - Large cleanups of some of the TI CODEC drivers from Andrew F. Davis.
       - Even more quirks and cleanups of quirks for x86 systems.
       - Refactoring of the Freescale SSI driver from Nicolin Chen in
         preparation for some more substantive improvements which are
         currently in review.
       - New drivers for Allwinner A83T, Maxim MAX89373, SocioNext UiniPhier
         EVEA Tempo Semiconductor TSCS42xx and TI PCM816x, TAS5722 and TAS6424
         devices.
      2c82e8ea
  2. 05 1月, 2018 29 次提交
  3. 04 1月, 2018 7 次提交
  4. 03 1月, 2018 3 次提交
    • T
      ASoC: skl: Fix kernel warning due to zero NHTL entry · 20a1ea22
      Takashi Iwai 提交于
      I got the following kernel warning when loading snd-soc-skl module on
      Dell Latitude 7270 laptop:
       memremap attempted on mixed range 0x0000000000000000 size: 0x0
       WARNING: CPU: 0 PID: 484 at kernel/memremap.c:98 memremap+0x8a/0x180
       Call Trace:
        skl_nhlt_init+0x82/0xf0 [snd_soc_skl]
        skl_probe+0x2ee/0x7c0 [snd_soc_skl]
        ....
      
      It seems that the machine doesn't support the SKL DSP gives the empty
      NHLT entry, and it triggers the warning.  For avoiding it, let do the
      zero check before calling memremap().
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      20a1ea22
    • R
      ASoC: mediatek: cleanup audio driver for MT2701 · 600b2fd4
      Ryder Lee 提交于
      Cleanup unused code such as 'i2s_num' guard, headers, indentation
      and some defines.
      Signed-off-by: NRyder Lee <ryder.lee@mediatek.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      600b2fd4
    • R
      ASoC: mediatek: rework clock functions for MT2701 · d8d99d8e
      Ryder Lee 提交于
      Reworks clock part to make it more reasonable. The current changes are:
      
      - Replace regmap operations by CCF APIs. Doing so, we just need to handle
        the element clocks and can also get accurate information via CCF.
      
      - Rename clocks to make them more generic so that the future revisions
        of the IP can adapt gracefully.
      
      - Regroup 'aud_clks[]' by usage - the basic needs and I2S parts:
      
        The new code just keep the common clocks in array and let SoC self decide
        I2S numbers - If future chips have different sets of channels we will
        add a little more abstract here.
      
        Moreover, this patch moves I2S clocks to the struct mt2701_i2s_data
        so that we can easily manage them when calls .prepare() and .shutdown().
      Signed-off-by: NRyder Lee <ryder.lee@mediatek.com>
      Tested-by: NGarlic Tseng <garlic.tseng@mediatek.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      d8d99d8e