linux/sound/soc/sunxi
Georgii Staroselskii 1f2675f665
ASoC: sun4i-codec: fix first delay on Speaker
Allwinner DAC seems to have a delay in the Speaker audio routing. When
playing a sound for the first time, the sound gets chopped. On a second
play the sound is played correctly. After some time (~5s) the issue gets
back.

This commit seems to be fixing the same issue as bf14da7 but
for another codepath.

This is the DTS that was used to debug the problem.

&codec {
        allwinner,pa-gpios = <&r_pio 0 11 GPIO_ACTIVE_HIGH>; /* PL11 */
        allwinner,audio-routing =
                "Speaker", "LINEOUT";

        status = "okay";
}

Signed-off-by: Georgii Staroselskii <georgii.staroselskii@emlid.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-05-29 16:31:32 +01:00
..
Kconfig ASoC: sunxi: rename SND_SUNXI_ADDA_PR_REGMAP to SND_SUN8I_ADDA_PR_REGMAP 2018-11-05 10:25:16 +00:00
Makefile ASoC: sunxi: Add new driver for Allwinner A64 codec's analog path controls 2018-10-17 11:11:01 +01:00
sun4i-codec.c ASoC: sun4i-codec: fix first delay on Speaker 2019-05-29 16:31:32 +01:00
sun4i-i2s.c ASoC: sun4i-i2s: move code from startup/shutdown hooks into pm_runtime hooks 2018-10-21 16:46:32 +01:00
sun4i-spdif.c ASoC: sun4i-spdif: Handle return value of clk_prepare_enable. 2017-07-26 13:01:33 +01:00
sun8i-adda-pr-regmap.c ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-adda-pr-regmap.h ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-codec-analog.c ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-codec.c ASoC: sun8i-codec: add missing route for ADC 2018-11-13 15:02:22 -08:00
sun50i-codec-analog.c ASoC: sunxi: sun50i-codec-analog: Rename hpvcc regulator supply to cpvdd 2019-02-19 15:36:02 +00:00