Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Issue 6894006: [2/2] CHROMIUM: ASoC: Tegra: Seaboard: Control power to digital mics (Closed)

Created:
9 years, 8 months ago by Stephen Warren
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, vb+kernel_google.com, Mandeep Singh Baines
Visibility:
Public.

Description

CHROMIUM: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -1 line) Patch
M sound/soc/tegra/seaboard.c View 1 2 6 chunks +44 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Stephen Warren
Initial review request. 2 patches in this series: http://codereview.chromium.org/6895005 http://codereview.chromium.org/6894006 Test instructions apply only after ...
9 years, 8 months ago (2011-04-21 23:25:33 UTC) #1
jiesun
http://codereview.chromium.org/6894006/diff/1/sound/soc/tegra/seaboard.c File sound/soc/tegra/seaboard.c (right): http://codereview.chromium.org/6894006/diff/1/sound/soc/tegra/seaboard.c#newcode64 sound/soc/tegra/seaboard.c:64: bool first_dmic_event; I understand this is for preventing regulator_disable ...
9 years, 8 months ago (2011-04-25 18:21:04 UTC) #2
Stephen Warren
Issue updated to address review feedback. http://codereview.chromium.org/6894006/diff/1/sound/soc/tegra/seaboard.c File sound/soc/tegra/seaboard.c (right): http://codereview.chromium.org/6894006/diff/1/sound/soc/tegra/seaboard.c#newcode64 sound/soc/tegra/seaboard.c:64: bool first_dmic_event; The ...
9 years, 8 months ago (2011-04-25 22:27:41 UTC) #3
jiesun1
if the ASoc core doesn't generate duplicate events, then I am okay with this. What ...
9 years, 8 months ago (2011-04-25 22:41:25 UTC) #4
Stephen Warren
Oh right. I understand now. Yes, I suppose that'd be a little more obvious, and ...
9 years, 8 months ago (2011-04-26 15:30:56 UTC) #5
Stephen Warren
Uploaded patch set 3 to rework variable used to guard regulator enable/disable.
9 years, 8 months ago (2011-04-26 16:58:13 UTC) #6
jiesun1
LGTM, thanks!
9 years, 8 months ago (2011-04-26 17:17:39 UTC) #7
Olof Johansson
9 years, 7 months ago (2011-04-27 17:12:09 UTC) #8
Thanks, applied.

Powered by Google App Engine
This is Rietveld 408576698