Chromium Code Reviews
DescriptionCHROMIUM: ASoC: Tegra: Seaboard: Control power to digital mics
The power supply to the digital microphones is controlled by a regulator.
Call the regulator APIs to enable this power rail when the digital mics
are being used.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
BUG=chrome-os-partner:3240
TEST=Tested recording from DMIC:
Run alsamixer to configure system for DMIC capture:
alsamixer
Left Capture Mux: Left
Left ADC Input: DMIC
Right ADC Input: Toggle to ADC then back to DMIC
Record audio:
arecord -r 48000 -c 2 -f s16 -V stereo foo.wav
Play audio:
aplay foo.wav
Patch Set 1 #
Total comments: 3
Patch Set 2 : Add missing regulator_put, add missing return statement #Patch Set 3 : Replaced first_dmic_event with vdd_dmic_enabled variable #Messages
Total messages: 8 (0 generated)
|