From patchwork Wed Nov 18 00:58:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: xuyuqing X-Patchwork-Id: 325541 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=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 2028CC56202 for ; Wed, 18 Nov 2020 01:00:10 +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 0BF53241A6 for ; Wed, 18 Nov 2020 01:00:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="Mhh46zN/"; dkim=temperror (0-bit key) header.d=huaqin-corp-partner-google-com.20150623.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20150623.gappssmtp.com header.b="ugCJDASv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0BF53241A6 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=huaqin.corp-partner.google.com 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 632E4171A; Wed, 18 Nov 2020 01:59:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 632E4171A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1605661205; bh=LC6kOUxUqOz18BM+ukiBpXDPQ9uBrSgD99d7N/h95vA=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Mhh46zN/+3fVUSoSumvCr57jUPGNQ6bem+YJ74QA1bGEkLf2Smy1RhJc+Usr0xSxg 8v2SSUI4lgKtp+pkHo9VRllgNhwuZIIOAc/agsxZ3Xy+tGHpXqnmXJbP7JSF2cvrdA V2mM6ytgxPl1BI1wVVPSpSn6Rvmzn0lw3l0pUuwE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E88F5F801ED; Wed, 18 Nov 2020 01:59:14 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B2E89F801F5; Wed, 18 Nov 2020 01:59:12 +0100 (CET) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (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 D081CF8010A for ; Wed, 18 Nov 2020 01:59:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D081CF8010A Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=huaqin-corp-partner-google-com.20150623.gappssmtp.com header.i=@huaqin-corp-partner-google-com.20150623.gappssmtp.com header.b="ugCJDASv" Received: by mail-pf1-x444.google.com with SMTP id w14so325947pfd.7 for ; Tue, 17 Nov 2020 16:59:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fZiwxZqojFgPo5SsCHfj9x1Lcm6wX0ajQ1bLVVWx3jU=; b=ugCJDASvWGrjrU1UVd1kTuc8cB+gPeGsAKwTgHP8RzvZ0d6D/Pxx21h1wZ9Mp+0KsG +uWpI2aJ60/fEeEzI+J6ACWHKv2MbSBk8jalOWRY/q8erFFlS6t7zHdBkrLQqSxjJCzW +aOPdyQdKTLx3ry0J5m9p7c1Hb2If/PjwgPfdGCfbRJpREBw77df27MpbwuZWgjGYjIX I1WE5Aizi+Y5PSrmbANDMgyPT4JZAPKN65HApfP3EoAVN13k72QCGLAKFMyIgfW07Npf iAUfHAwR1boa5U8/DNAVA0dgBWGkdosCBjIdo4RjOrUovlQviOl2XLY+0xHLgRBf6Ffi RfPw== 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=fZiwxZqojFgPo5SsCHfj9x1Lcm6wX0ajQ1bLVVWx3jU=; b=DoyW3LKRe92H7nfBkGwRfZZHD29LiOYSWvdWQWVTHvYIcJfSy96YP5xdevN8gveU4x VAWseE1BD9CMbsn8JZ3H8snGYLrtehjzMNmXS/cGKFVvp8FO3aYHQ0vJxlT/8827aG1N I4Oe+fp6WaCng606/DthDpr1q9J6TPOhSUncZs3EdBzBdvtrsCdaUTIU9PPkQJJeze0v T1k/5P9OlS9FfaAVHS5MzqshLIjN80eXMI1FV9MqYJRKF0PApvTv32g7dtA7xR+NWIci Y3D5yIUIWEm5cNXyoqWc4OcA2FztihHDkSbhB+9HTfwuurtbqtysCqg14UiuYhrxhpHk 4DpQ== X-Gm-Message-State: AOAM531rTSApSBGJernMMubQaO2lB6jHTUSphXt5/ep75s0AX0HuvOTB QabvI9xIhAndVaB0j4eHwbH1 X-Google-Smtp-Source: ABdhPJxdQinxTZFO5n5EZ6IWDpmbfN2LzGmaJN6gn2i345FWRsV2HD3cz7OaPvnK63UNxoAFSui30Q== X-Received: by 2002:a05:6a00:78d:b029:18b:f46:5262 with SMTP id g13-20020a056a00078db029018b0f465262mr2266304pfu.74.1605661147582; Tue, 17 Nov 2020 16:59:07 -0800 (PST) Received: from xuyuqing-ZenBook-UX425JA-UX425JA.huaqin.com ([101.78.151.194]) by smtp.gmail.com with ESMTPSA id y10sm307159pjm.34.2020.11.17.16.59.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 16:59:07 -0800 (PST) From: xuyuqing To: linux-kernel@vger.kernel.org Subject: [PATCH v1 0/1] Fix 32 bit format for adau7002 Date: Wed, 18 Nov 2020 08:58:57 +0800 Message-Id: <20201118005858.123013-1-xuyuqing@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: Taniya Das , alsa-devel@alsa-project.org, Banajit Goswami , Liam Girdwood , Rohit kumar , cychiang@chromium.org, Patrick Lai , Andy Gross , dgreid@chromium.org, zhouguohui@huaqin.corp-partner.google.com, devicetree@vger.kernel.org, tzungbi@chromium.org, Stephan Gerhold , linux-arm-msm@vger.kernel.org, Rob Herring , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, dianders@chromium.org, Takashi Iwai , xuyuqing@huaqin.corp-partner.google.com, Mark Brown , Srini Kandagatla , judyhsiao@chromium.org 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" the microphone is attached to external codec(adau7002) instead of rt5682.We need to always use 32 bit format on sc7180 to meet the clock requirement of adau7002: The ADAU7002 requires a BCLK rate that is a minimum of 64× the LRCLK sample rate xuyuqing (1): ASoC: qcom: sc7180: fix 32 bit format for adau7002 sound/soc/qcom/sc7180.c | 3 +++ 1 file changed, 3 insertions(+)