linux/sound/soc/dwc
Jose Abreu 6fce983f9b ASoC: dwc: Fix PIO mode initialization
We can no longer rely on the return value of
devm_snd_dmaengine_pcm_register(...) to check if the DMA
handle is declared in the DT.

Previously this check activated PIO mode but currently
dma_request_chan returns either a valid channel or -EPROBE_DEFER.

In order to activate PIO mode check instead if the interrupt
line is declared. This reflects better what is documented in
the DT bindings (see Documentation/devicetree/bindings/sound/
designware-i2s.txt).

Also, initialize use_pio variable which was never being set
causing PIO mode to never work.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-12-14 14:38:10 +00:00
..
designware_i2s.c ASoC: dwc: Fix PIO mode initialization 2016-12-14 14:38:10 +00:00
designware_pcm.c ASoC: dwc: Add PIO PCM extension 2016-06-13 17:52:00 +01:00
Kconfig ASoC: dwc: Add PIO PCM extension 2016-06-13 17:52:00 +01:00
local.h ASoC: dwc: Add PIO PCM extension 2016-06-13 17:52:00 +01:00
Makefile ASoC: dwc: make pcm support built-in when necessary 2016-06-21 19:07:21 +01:00