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. 17 2月, 2017 10 次提交
  3. 09 2月, 2017 3 次提交
  4. 04 2月, 2017 4 次提交
  5. 02 2月, 2017 1 次提交
  6. 01 2月, 2017 9 次提交
  7. 20 1月, 2017 1 次提交
  8. 18 1月, 2017 1 次提交
  9. 05 1月, 2017 2 次提交
  10. 19 12月, 2016 1 次提交
    • P
      ASoC: Intel: bytcr_rt5640: fallback mechanism if MCLK is not enabled · 4a8b3a68
      Pierre-Louis Bossart 提交于
      Commit df1a2776 ("ASoC: Intel: bytcr_rt5640: add MCLK support")
      was merged but the corresponding clock framework patches have not,
      after being bumped from audio to clock to x86 domains. The missing
      clock-related patches result in a regression starting with 4.9 with
      the audio card not being created.
      
      Rather than reverting this commit and all following updates already
      queued up for 4.10, handle run-time dependency on MCLK and fall back
      to the previous bit-clock mode. This provides the same functionality
      as in 4.8 for Baytrail devices. On Baytrail-CR most devices remain
      silent with this fallback but additional patches are needed anyway.
      As suggested by Mark Brown, the fallback is only allowed with -ENOENT,
      all other run-time errors, including -EPROBE_DEFER, will stop the probe
      with no sound card registered.
      
      This patch should be applied to -stable as well as ASoC 4.10 fixes
      Signed-off-by: NPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      4a8b3a68
  11. 06 12月, 2016 1 次提交
  12. 02 12月, 2016 1 次提交
  13. 01 12月, 2016 1 次提交
  14. 23 11月, 2016 1 次提交
  15. 16 11月, 2016 1 次提交
    • L
      ASoC: intel: mfld: Make static string arrays 'const 'char * const []' · 266c618d
      Lars-Peter Clausen 提交于
      const char * const [] is the preferred type for static string arrays since
      this states explicitly that the individual entries are not going to be
      changed. Due to limitations in the ASoC API it was not possible to use it
      for enum text arrays. Commit 87023ff7 ("ASoC: Declare const properly
      for enum texts") changed this, but most drivers still use 'const char
      * []' as the type for their enum text arrays.
      
      Change these occurrences of 'static * const char * []' to 'static const
      char * const []'.
      
      The conversion was done automatically using the following coccinelle
      semantic patch:
      // <smpl>
      @disable optional_qualifier@
      identifier s;
      @@
       static
      -const char *
      +const char * const
       s[] = ...;
      // </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Acked-by: NVinod Koul <vinod.koul@intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      266c618d
  16. 13 11月, 2016 2 次提交