From patchwork Fri Jul 20 07:27:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 10536091 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 5B64D6029B for ; Fri, 20 Jul 2018 07:38:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44A54291AD for ; Fri, 20 Jul 2018 07:38:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 326F32958D; Fri, 20 Jul 2018 07:38:48 +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.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE 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 3DCAE291AD for ; Fri, 20 Jul 2018 07:38:46 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 136FE267776; Fri, 20 Jul 2018 09:27:58 +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 D79B326775C; Fri, 20 Jul 2018 09:27:52 +0200 (CEST) Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by alsa0.perex.cz (Postfix) with ESMTP id E9A0326772E for ; Fri, 20 Jul 2018 09:27:49 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3A5A0CE1D6; Fri, 20 Jul 2018 07:27:49 +0000 (UTC) Received: from shalem.localdomain.com (ovpn-117-82.ams2.redhat.com [10.36.117.82]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2D9322156897; Fri, 20 Jul 2018 07:27:48 +0000 (UTC) From: Hans de Goede To: alsa-devel@alsa-project.org Date: Fri, 20 Jul 2018 09:27:32 +0200 Message-Id: <20180720072741.4632-6-hdegoede@redhat.com> In-Reply-To: <20180720072741.4632-1-hdegoede@redhat.com> References: <20180720072741.4632-1-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Fri, 20 Jul 2018 07:27:49 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Fri, 20 Jul 2018 07:27:49 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'hdegoede@redhat.com' RCPT:'' Cc: Takashi Iwai , Hans de Goede , Pierre-Louis Bossart Subject: [alsa-devel] [PATCH 05/14] conf/ucm: bytcr-rt5651: Start with all outputs and inputs disabled 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 Start with all switches disabled, so that e.g. the LOUT L/R Playback Switches are not left enabled when starting with headphones plugged in. This fixes the platform clock being kept on by these in some cases. While at also move the IN? Boost and IF1 ASRC Switch lines around a bit to match the order from https://github.com/plbossart/UCM so the profiles can be more easily compared. Signed-off-by: Hans de Goede --- src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf b/src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf index d6e8e48d..4bcc6a6c 100644 --- a/src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf +++ b/src/conf/ucm/bytcr-rt5651/bytcr-rt5651.conf @@ -123,14 +123,13 @@ SectionDefaults [ cset "name='HPO R Playback Switch' off" cset "name='HPOVOL L Switch' on" cset "name='HPOVOL R Switch' on" - cset "name='IF1 ASRC Switch' on" - cset "name='IN2 Boost' 1" - cset "name='IN1 Boost' 1" - cset "name='LOUT L Playback Switch' on" cset "name='LOUT MIX DAC L1 Switch' on" cset "name='LOUT MIX DAC R1 Switch' on" - cset "name='LOUT R Playback Switch' on" - cset "name='OUT Playback Volume' 33" + cset "name='IN1 Boost' 1" + cset "name='IN2 Boost' 1" + cset "name='IF1 ASRC Switch' on" + cset "name='LOUT L Playback Switch' off" + cset "name='LOUT R Playback Switch' off" cset "name='Stereo DAC MIXL DAC L1 Switch' on" cset "name='Stereo DAC MIXR DAC R1 Switch' on" cset "name='Stereo1 ADC MIXR ADC1 Switch' on" @@ -160,4 +159,7 @@ SectionDefaults [ cset "name='RECMIXR BST3 Switch' off" cset "name='RECMIXL BST2 Switch' off" cset "name='RECMIXR BST2 Switch' off" + cset "name='Headset Mic Switch' off" + cset "name='Internal Mic Switch' off" + cset "name='Line In Switch' off" ]