From 277d12d5c5e97e88ef5f45ab628d41d52034a9b0 Mon Sep 17 00:00:00 2001 From: Chih-Chung Chang Date: Wed, 16 Jan 2013 11:28:56 +0800 Subject: [PATCH] CHROMIUM: ALSA: hda/ca0132 - Add key-click reduction feature. This patch is provided by Creative. BUG=chrome-os-partner:17241 TEST=check there is an additional mixer control in "alsamixer -c 0" Signed-off-by: Chih-Chung Chang Change-Id: Ifcb523a234d0d7ee9908911714b90dbcc4783ec1 Reviewed-on: https://gerrit.chromium.org/gerrit/41349 Reviewed-by: Dylan Reid --- sound/pci/hda/patch_ca0132.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 54f443163d4d0..03871d3907933 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -151,6 +151,7 @@ enum { VOICE_FOCUS, MIC_SVM, NOISE_REDUCTION, + KEY_CLICK, IN_EFFECT_END_NID, #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NID) @@ -265,6 +266,14 @@ static struct ct_effect ca0132_effects[EFFECTS_COUNT] = { 1, {0x3F800000, 0x3F000000} }, + { "Key-Click Reduction", + KEY_CLICK, + 71, + {0}, + 1, + 0, + {0x3F800000} + }, { "VoiceFX", VOICEFX, 0x95, -- 2.39.5