1. 25 4月, 2017 1 次提交
    • T
      ASoC: intel: Fix PM and non-atomic crash in bytcr drivers · 6e4cac23
      Takashi Iwai 提交于
      The FE setups of Intel SST bytcr_rt5640 and bytcr_rt5651 drivers carry
      the ignore_suspend flag, and this prevents the suspend/resume working
      properly while the stream is running, since SST core code has the
      check of the running streams and returns -EBUSY.  Drop these
      superfluous flags for fixing the behavior.
      
      Also, the bytcr_rt5640 driver lacks of nonatomic flag in some FE
      definitions, which leads to the kernel Oops at suspend/resume like:
      
        BUG: scheduling while atomic: systemd-sleep/3144/0x00000003
        Call Trace:
         dump_stack+0x5c/0x7a
         __schedule_bug+0x55/0x70
         __schedule+0x63c/0x8c0
         schedule+0x3d/0x90
         schedule_timeout+0x16b/0x320
         ? del_timer_sync+0x50/0x50
         ? sst_wait_timeout+0xa9/0x170 [snd_intel_sst_core]
         ? sst_wait_timeout+0xa9/0x170 [snd_intel_sst_core]
         ? remove_wait_queue+0x60/0x60
         ? sst_prepare_and_post_msg+0x275/0x960 [snd_intel_sst_core]
         ? sst_pause_stream+0x9b/0x110 [snd_intel_sst_core]
         ....
      
      This patch addresses these appropriately, too.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Acked-by: NVinod Koul <vinod.koul@intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      Cc: <stable@vger.kernel.org> # v4.1+
      6e4cac23
  2. 28 2月, 2017 5 次提交
  3. 20 2月, 2017 1 次提交
  4. 17 2月, 2017 22 次提交
  5. 14 2月, 2017 1 次提交
  6. 10 2月, 2017 1 次提交
  7. 09 2月, 2017 7 次提交
  8. 07 2月, 2017 1 次提交
    • A
      ASoC: fix ES8328_I2C/SPI dependencies · 245c5c7b
      Arnd Bergmann 提交于
      The two front-ends to the codec can now be selected individually, but fail to
      build when the bus support is missing:
      
      sound/built-in.o: In function `es8328_spi_probe':
      es8328-spi.c:(.text+0x125854): undefined reference to `__devm_regmap_init_spi'
      sound/built-in.o: In function `es8328_spi_driver_init':
      es8328-spi.c:(.init.text+0x3589): undefined reference to `__spi_register_driver'
      
      Related to this, the added dependency on SND_SOC_ES8328 breaks:
      
      warning: (SND_SOC_ALL_CODECS) selects SND_SOC_ES8328_I2C which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_ES8328 && I2C)
      
      This adds the respective Kconfig dependencies and changes SND_SOC_ES8328 to a hidden
      symbol that is selected implicitly by the two more specific options, as we do for
      some other codecs. We have to remove the 'depends on' for SND_SOC_IMX_ES8328 in the
      same step to avoid a recursive dependency.
      
      Fixes: aa00f2c8 ("ASoC: Allow to select ES8328_I2C and ES8328_SPI directly")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      245c5c7b
  9. 05 2月, 2017 1 次提交