10 Nov
2018
10 Nov
'18
5:59 p.m.
On 11/8/18 9:29 AM, Peter Ujfalusi wrote:
Hi,
Changes since v2:
- Split the dma_data addr and maxburst cleanup patches
- Added Jarkko's Acked-by tot he series.
Here's my promised testing too. I used a setup below to test sidetone functionality. Assuming both playback and recording path are already set.
amixer -D hw:0 set 'McBSP2 Sidetone' on amixer -D hw:0 set 'McBSP2 Sidetone Channel 0' 100% amixer -D hw:0 set 'McBSP2 Sidetone Channel 1' 100% echo 32767 >/sys/devices/platform/68000000.ocp/49022000.mcbsp/st_taps echo threshold
/sys/devices/platform/68000000.ocp/49022000.mcbsp/dma_op_mode
arecord -f dat >/dev/null |aplay -f dat /dev/zero
^^ arecord dumps into /dev/null and aplay plays from /dev/zero so only path from input to output is the sidetone path.
Tested-by: Jarkko Nikula jarkko.nikula@bitmer.com