linux/sound/soc/meson
Neil Armstrong 0c9b152c72
ASoC: meson: axg-card: Fix nonatomic links
This commit e138233e56 causes the
following system crash when using audio on G12A/G12B & SM1 systems:

 BUG: sleeping function called from invalid context at kernel/locking/mutex.c:282
  in_atomic(): 1, irqs_disabled(): 128, non_block: 0, pid: 0, name: swapper/0
 preempt_count: 10001, expected: 0
 RCU nest depth: 0, expected: 0
 Preemption disabled at:
 schedule_preempt_disabled+0x20/0x2c

 mutex_lock+0x24/0x60
 _snd_pcm_stream_lock_irqsave+0x20/0x3c
 snd_pcm_period_elapsed+0x24/0xa4
 axg_fifo_pcm_irq_block+0x64/0xdc
 __handle_irq_event_percpu+0x104/0x264
 handle_irq_event+0x48/0xb4
 ...
 start_kernel+0x3f0/0x484
 __primary_switched+0xc0/0xc8

Revert this commit until the crash is fixed.

Fixes: e138233e56 ("ASoC: meson: axg-card: make links nonatomic")
Reported-by: Dmitry Shmidt <dimitrysh@google.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20220421155725.2589089-2-narmstrong@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-04-21 18:25:15 +01:00
..
aiu-acodec-ctrl.c ASoC: meson: Fix event generation for AUI ACODEC mux 2022-04-21 14:41:34 +01:00
aiu-codec-ctrl.c ASoC: meson: Fix event generation for AUI CODEC mux 2022-04-21 14:41:46 +01:00
aiu-encoder-i2s.c ASoC: meson: aiu: Move AIU_I2S_MISC hold setting to aiu-fifo-i2s 2021-12-14 17:15:32 +00:00
aiu-encoder-spdif.c ASoC: meson: aiu: Fix spelling mistake "Unsupport" -> "Unsupported" 2021-09-27 13:01:07 +01:00
aiu-fifo-i2s.c ASoC: meson: aiu: Move AIU_I2S_MISC hold setting to aiu-fifo-i2s 2021-12-14 17:15:32 +00:00
aiu-fifo-spdif.c ASoC: meson: Use managed DMA buffer allocation 2020-12-28 12:24:46 +00:00
aiu-fifo.c ASoC: meson: aiu: fifo: Add missing dma_coerce_mask_and_coherent() 2021-12-14 17:15:29 +00:00
aiu-fifo.h
aiu.c ASoC: meson: aiu: fix duplicate debugfs directory error 2022-04-05 19:14:21 +01:00
aiu.h ASoC: constify of_phandle_args in snd_soc_get_dai_name() 2021-03-10 13:07:14 +00:00
axg-card.c ASoC: meson: axg-card: Fix nonatomic links 2022-04-21 18:25:15 +01:00
axg-fifo.c ASoC: meson: Use dev_err_probe() helper 2021-12-20 12:47:17 +00:00
axg-fifo.h
axg-frddr.c ASoC: meson: axg-frddr: fix fifo depth on g12 and sm1 2021-04-13 12:31:51 +01:00
axg-pdm.c ASoC: meson: Use dev_err_probe() helper 2021-12-20 12:47:17 +00:00
axg-spdifin.c ASoC: meson: Use dev_err_probe() helper 2021-12-20 12:47:17 +00:00
axg-spdifout.c ASoC: meson: Use dev_err_probe() helper 2021-12-20 12:47:17 +00:00
axg-tdm-formatter.c ASoC: meson: Use dev_err_probe() helper 2021-12-20 12:47:17 +00:00
axg-tdm-formatter.h
axg-tdm-interface.c ASoC: meson: axg-tdm-interface: Fix formatters in trigger" 2022-04-21 18:25:13 +01:00
axg-tdm.h
axg-tdmin.c ASoC: meson: axg-tdmin: remove useless assignment 2021-03-31 18:03:17 +01:00
axg-tdmout.c ASoC: meson: axg-tdmout: remove useless assignment 2021-03-31 18:03:18 +01:00
axg-toddr.c ASoC: meson: axg-toddr: fix channel order on g12 platforms 2020-08-28 19:02:54 +01:00
g12a-toacodec.c ASoC: meson: g12a-toacodec: add support for SM1 TOACODEC 2021-05-19 14:19:05 +01:00
g12a-tohdmitx.c ASoC: meson: Fix event generation for G12A tohdmi mux 2022-04-21 14:41:55 +01:00
gx-card.c Merge remote-tracking branch 'asoc/for-5.9' into asoc-next 2020-07-31 19:54:03 +01:00
Kconfig ASoC: Fix 7/8 spaces indentation in Kconfig 2020-11-17 17:08:45 +00:00
Makefile
meson-card-utils.c ASoC: meson: Use dev_err_probe() helper 2021-12-20 12:47:17 +00:00
meson-card.h
meson-codec-glue.c ASoC: soc-core: accept zero format at snd_soc_runtime_set_dai_fmt() 2021-10-18 13:56:40 +01:00
meson-codec-glue.h
t9015.c ASoC: meson: Use dev_err_probe() helper 2021-12-20 12:47:17 +00:00