linux/sound/soc/intel/boards
Takashi Iwai 6e4cac23c5 ASoC: intel: Fix PM and non-atomic crash in bytcr drivers
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: Takashi Iwai <tiwai@suse.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: <stable@vger.kernel.org> # v4.1+
2017-04-25 15:54:30 +01:00
..
bdw-rt5677.c ASoC: constify snd_soc_ops structures 2016-10-24 18:34:55 +01:00
broadwell.c ASoC: Intel: Use DMI name for sound card long name in Broadwell machine driver 2017-01-17 17:57:14 +00:00
bxt_da7219_max98357a.c ASoC: Intel: bxt: Add jack port initialize in da7219_max98357a machine 2017-02-16 18:57:15 +00:00
bxt_rt298.c ASoC: Intel: bxt: Add jack port initialize in bxt_rt298 machine 2017-02-17 11:24:13 +00:00
byt-max98090.c ASoC: Set missing card owner field 2015-08-21 09:07:19 -07:00
byt-rt5640.c ASoC: Set missing card owner field 2015-08-21 09:07:19 -07:00
bytcr_rt5640.c ASoC: intel: Fix PM and non-atomic crash in bytcr drivers 2017-04-25 15:54:30 +01:00
bytcr_rt5651.c ASoC: intel: Fix PM and non-atomic crash in bytcr drivers 2017-04-25 15:54:30 +01:00
cht_bsw_max98090_ti.c ASoC: constify snd_soc_ops structures 2016-10-24 18:34:55 +01:00
cht_bsw_rt5645.c ASoC: cht-bsw-rt5645: fix unused variable compiler warning 2017-02-01 18:35:50 +00:00
cht_bsw_rt5672.c Merge remote-tracking branches 'asoc/topic/compress', 'asoc/topic/const' and 'asoc/topic/cs35l34' into asoc-next 2016-12-12 15:52:51 +00:00
haswell.c ASoC: constify snd_soc_ops structures 2016-10-24 18:34:55 +01:00
Makefile ASoC: Intel: boards: Add bdw-rt5677 machine driver 2016-09-24 20:02:03 +01:00
mfld_machine.c ASoC: intel: mfld: Make static string arrays 'const 'char * const []' 2016-11-16 10:08:59 +00:00
skl_nau88l25_max98357a.c ASoC: Intel: Skylake: Add jack port initialize in nau88l25_max98357a machine 2017-02-16 18:56:15 +00:00
skl_nau88l25_ssm4567.c ASoC: Intel: Skylake: Add jack port initialize in nau88l25_ssm4567 machine 2017-02-16 18:56:19 +00:00
skl_rt286.c ASoC: Intel: Skylake: Add jack port initialize in rt286 machine 2017-02-16 18:56:12 +00:00