From patchwork Wed Mar 11 18:04:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 193340 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64DB8C0044D for ; Wed, 11 Mar 2020 18:05:41 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ADC8220691 for ; Wed, 11 Mar 2020 18:05:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="MCvPYtP7"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="M3bjxGks" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ADC8220691 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 54BE81667; Wed, 11 Mar 2020 19:04:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 54BE81667 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1583949939; bh=qNurTMPC8PWr0BcgKD2a4f9yE6iL5Busk0QPdltjBgQ=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=MCvPYtP727FjSwTFVYXwJQlPkobvVECXS1UbhHuDhB9uxgOj0KU1y32/aKJuHFTN4 k0WPXDteMYN0VdDy4SU/K/O5+T5E0SrDfI6MeP73AtCo+6M4TzcOuzMaFNr4eoxLsa AEHQ0HPNrlp2as+Winhfh5WgP0RXXHjCFw11Z7ik= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 820C6F800BE; Wed, 11 Mar 2020 19:04:48 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6014AF801F7; Wed, 11 Mar 2020 19:04:46 +0100 (CET) Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A12D8F800B5 for ; Wed, 11 Mar 2020 19:04:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A12D8F800B5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="M3bjxGks" Received: by mail-wr1-x442.google.com with SMTP id v11so3836392wrm.9 for ; Wed, 11 Mar 2020 11:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uSWL2FmY7zpKu733UysN5ObefdtHGdo1xnjVfRmXsfs=; b=M3bjxGksxSB2uD4exfypPyvoUCoNhuYHVu0Z7MqkcbU24JUr39s/S5w2HTfIBfk8Gt qvyGcxu9THPrvu/aO9SGE5ImXArh3scmpeWqi7SwDUsnUKyiSePi2qxnIhWu2eR0N40D jP9cTxfo/cMkuwroo9gS3LZzbkIEzd3rU8wGYX0ygDWBuKI6fwLXlz/xtgJ/aQqFt+Q1 wdkU4M+LdGcUDA4KdxkDA4pt48DMP7F0FLVJLgJ/doKJcBQ4rVy8quGpLLbWnyFM5viI HtLbFbgQb9/ku1o3OmTW6d4p76eqt/6x1eO/WjPqZ4DCDHjVdvyxmQSAFxJVp5a2W+S+ sMOA== 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:mime-version :content-transfer-encoding; bh=uSWL2FmY7zpKu733UysN5ObefdtHGdo1xnjVfRmXsfs=; b=hFZvjCUWoOS/APH6vPTosP0Z4bbvLiiGsbFxi3Kl13JWGYV9he7aDSYjd2m78YFILJ 4u2xGytNID/fCnth085ulBb8gAsLz1DZRJcBwGP1vIz0xB2rbXqO1nhWTwsx/Yo+FjX8 te9oGXhBTKNtOGCNsiTm7ClKqm/9ginsUjdIcJMn6xlindU5fH6uPkAVsYBzDkhe2QmS b0g0mwQdLRxeMo/Zmh4f66YpcF2o1uPRWkXxpIGtpDUc5EsR6Bp9xYeTlVJBDgturWsG 5dhGW4zPFVIq/P+xmtJ/Cco0CIxFM226OGMFwbc11TZo6Oqi2VPOAS7G090IUynjeSiT 67JA== X-Gm-Message-State: ANhLgQ2unsLwDi8bGetOaJM4gLNhtVZbzWGxeR/S+nI2gdCelowOGPpE 6j+OzcLh2hL89cIcNgUVSHhaag== X-Google-Smtp-Source: ADFU+vvWK8hKheKVDZ1BgJb12Z0r9+RePhfmT1iLPBixkKd5N5IR5u2BasLAy4m4UbOiD5vTW3YbfQ== X-Received: by 2002:adf:f044:: with SMTP id t4mr5493484wro.287.1583949882618; Wed, 11 Mar 2020 11:04:42 -0700 (PDT) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id z11sm8997840wmd.47.2020.03.11.11.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2020 11:04:40 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org Subject: [PATCH 0/2] ASoC: qdsp6: fix default FE dais and routings. Date: Wed, 11 Mar 2020 18:04:20 +0000 Message-Id: <20200311180422.28363-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Srinivas Kandagatla , lgirdwood@gmail.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" QDSP6 Frontend dais can be configured to work in rx or tx or both rx/tx mode, however the default routing do not honour this DT configuration making sound card fail to probe. FE dais are also not fully honouring device tree configuration. Fix both of them. Originally issue was reported by Vinod Koul Srinivas Kandagatla (2): ASoC: qdsp6: q6asm-dai: only enable dais from device tree ASoC: qdsp6: q6routing: remove default routing sound/soc/qcom/qdsp6/q6asm-dai.c | 30 +++++++++++++++++++++++------- sound/soc/qcom/qdsp6/q6routing.c | 19 ------------------- 2 files changed, 23 insertions(+), 26 deletions(-)