From patchwork Thu May 24 16:05:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guy Chronister X-Patchwork-Id: 10432807 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E9FF2602CC for ; Mon, 28 May 2018 13:52:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA5FD285C4 for ; Mon, 28 May 2018 13:52:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CEAD328BE2; Mon, 28 May 2018 13:52:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1BC34285C4 for ; Mon, 28 May 2018 13:52:38 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4B483267046; Mon, 28 May 2018 15:52:35 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7B10B267677; Thu, 24 May 2018 18:05:58 +0200 (CEST) Received: from mail-ot0-f193.google.com (mail-ot0-f193.google.com [74.125.82.193]) by alsa0.perex.cz (Postfix) with ESMTP id B201926766E for ; Thu, 24 May 2018 18:05:54 +0200 (CEST) Received: by mail-ot0-f193.google.com with SMTP id g7-v6so2560486otj.11 for ; Thu, 24 May 2018 09:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=qbajtp7I1CIwBpZvBSgUz2UPPsYECL0LBq9JMRBs3Bo=; b=dKPXREjjFJ64Kjb/uRQNUNx1yfvPkNHksfKaRHF79egHBqcsLH/V7b4ZHMBvCA9DaA +XTMdUHPYAhzu+gJGLxIX8HnqKuZSsjmZtUAwbPU1k9U+z0yDaqIR/p3+2I/otcvQCBh MxApYjocV/uFUtaUDKXDDA/MZMfT7826EOG+Q+uWZgskDWPvevDTrZ1juuwNHQT9oBbM UkWYfVWiNHpmT9iDH1XUhWSHJssh4XjZYaSVaE17re8zbFh8sEhtX65VwuI6q/71/IYN XdRvaBiJ6DhimF6d4IGRYxu7nQkLHi1VGMFHNqrpueHSDmlmFfWD/VQEspMFlv0jvQkI hQKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qbajtp7I1CIwBpZvBSgUz2UPPsYECL0LBq9JMRBs3Bo=; b=mT8Hkk9j7Mr8DebvsMA3gi/sbrGyV+ZYnijP6yj95E6+v+t7dY+6cbrVusnt7KQkrj JlbOGMC1RAEifgjptPmbB5TMTrL6M79mhbpkfdSI6uT6q2qcfoeKjqqC0omMO46EWPCR dmpnKffBetIIJqBI2xNVYY6xRNEYNXHd/KOB4qlHmGxZGhmtkYsj8y/XdMS8vv/iyBGV lSJx+H29MxFr7AYamzed3ADq3nArPTTx4qiEu9KtYm4u0/OEbh9IqZHKVPIZdMhg4fk5 ZpVw2N0yIawbYuyqKh6KYZuaIirpkV8gGiE4FZb3BNb+fDHKarIYAfsMmtHnuhgLbprl ooCA== X-Gm-Message-State: ALKqPwesiOPp7ajZeT1nF0KJ6UGjI/sSdFF9kNxuhKCH4i3tGkaCO7hJ LWARW3Ix35wpvOwElctiHivdQFEp X-Google-Smtp-Source: AB8JxZqjxFDYnXeN639lS9ey3IOAQJj1vCW7MkeL7ZfaUP0VYaapgpYHHSZosvns9L3XFC2l/26ZTg== X-Received: by 2002:a9d:86c:: with SMTP id 99-v6mr4684887oty.268.1527177952376; Thu, 24 May 2018 09:05:52 -0700 (PDT) Received: from guyc-Virtual-Machine.mshome.net (199.sub-174-255-130.myvzw.com. [174.255.130.199]) by smtp.googlemail.com with ESMTPSA id e15-v6sm12072629oiy.24.2018.05.24.09.05.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 May 2018 09:05:51 -0700 (PDT) From: Guy Chronister To: alsa-devel@alsa-project.org Date: Thu, 24 May 2018 11:05:37 -0500 Message-Id: <20180524160537.1312-1-guylovesbritt@gmail.com> X-Mailer: git-send-email 2.17.0 X-Mailman-Approved-At: Mon, 28 May 2018 15:52:33 +0200 Cc: Guy Chronister Subject: [alsa-devel] [PATCH] Fixed typo on ac97_fc_rec_volume_put. X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Guy Chronister --- sound/pci/oxygen/oxygen_mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/oxygen/oxygen_mixer.c b/sound/pci/oxygen/oxygen_mixer.c index 4ca12665ff73..64a82688d7fb 100644 --- a/sound/pci/oxygen/oxygen_mixer.c +++ b/sound/pci/oxygen/oxygen_mixer.c @@ -730,7 +730,7 @@ static int ac97_fp_rec_volume_put(struct snd_kcontrol *ctl, oldreg = oxygen_read_ac97(chip, 1, AC97_REC_GAIN); newreg = oldreg & ~0x0707; newreg = newreg | (value->value.integer.value[0] & 7); - newreg = newreg | ((value->value.integer.value[0] & 7) << 8); + newreg = newreg | ((value->value.integer.value[1] & 7) << 8); change = newreg != oldreg; if (change) oxygen_write_ac97(chip, 1, AC97_REC_GAIN, newreg);