summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
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;