summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-12-14 00:06:16 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-12-14 00:06:16 +0000
commitf77777a5ab50a1f49f0717776d92e1337f09422b (patch)
treef3e9a4100e8cf70a8453ecafdbf984f3712ee520 /audio
parent0a377c514a6d0d5eb3b723977007c682748d1baf (diff)
Fix mic gain value
Diffstat (limited to 'audio')
-rw-r--r--audio/headset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/headset.c b/audio/headset.c
index e7425d5a..737957cc 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -1637,7 +1637,7 @@ void headset_set_state(struct device *dev, headset_state_t state)
if (hs->mic_gain >= 0) {
snprintf(str, sizeof(str) - 1, "\r\n+VGM=%u\r\n",
- hs->sp_gain);
+ hs->mic_gain);
headset_send(hs, str);
}
break;