Skip to content
Unverified Commit 8a0f95ce authored by Andrea Bondavalli's avatar Andrea Bondavalli Committed by Mark Brown
Browse files

ASoC: sun4i-codec: fixed 32bit audio capture support for H3/H2+



32bit and 24bit audio capture formats for H3/H2+ are broken because the
RX_SAMPLE_BITS and the RX_FIFO_MODE bits of AC_ADC_FIFOC register of the audio
codec are not set to operate in 24bit mode but in 16bit mode only.
The following patch sets the H3 audio codec registers and the DMA bus width
properly when a 24/32bit capture is requested.

Signed-off-by: default avatarAndrea Bondavalli <andrea.bondavalli74@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent e7b8a6d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment