Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3055613pxx; Sun, 1 Nov 2020 21:08:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwT0UPK05BQwwWxPap0Kwmdtqc09Sbw211dEfR8aU/uVjGQ1rf94f3Rn6Eny3QzuFTTQRni X-Received: by 2002:a05:6402:3131:: with SMTP id dd17mr9171656edb.58.1604293713672; Sun, 01 Nov 2020 21:08:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604293713; cv=none; d=google.com; s=arc-20160816; b=ajJ31PHaN8sSCd/wDjAz7Ob7hnbBlvRnI12XgxZqprkWYq0RHcuWXbz85nsAu8yjR+ Msiz1IbMx3nEui0QWRkz+YAh9+nGK66BpbvIHFipd0Dfj3LeTWB9AnAdRBr0qjbwc0nE kexlOEs3M3GdhAMgmw4woe6AEMNKYuyH8E02SOR0h/4rRbLMKi9qnYPJ6lCy8nAVaFqE anqySX1dSYZKN++P0H2bxSLRVBWywKQhxDagGnkdEdeqfZBq8ohOcoOomKJXXZ5swoLa NAk/HFwr8MJIY2FEdtJgLlu8eg3jOepxPnjdo8Pfv8nQQ9kkjIGkWte14U+j2H02UWwW jmzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=0i5kulrXeAXUUmHumUD66U2ITbxD8qnUW4/n36OfF0g=; b=kCkwWsHUZ3e3UXA1kU151KFEj0LoLqTj0S4ENxgott9r1ZaHnlZ/+XVXsF1ahEo2bq lS4O3bpmxlJcnG+sSOjR9/ocRcXycHR6PS3FDXP8NSfxRU5j42RI+IKNNkDp0wLKl9yc 4r8JDUS9b1Fmp4PwYl5gK7keusmcuZZZgGQzBaOG5v9RTDjVZD1enFXOpNfLx2WYZb5z uGi4+q9p/mQ6FzkGAxuIB3Q102FFLiSt/TssKMV2YFdG6agjIEiTNdDhaZWhwZm94yxo t41DsBJbif5tpL5gKJSa9ueAln/FQq14mqR3O4rhThaUsVyX/1LyOldkiDJWT/yoW+PB 3Vkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oxLWWeV0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m21si9375094ejx.182.2020.11.01.21.08.11; Sun, 01 Nov 2020 21:08:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oxLWWeV0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727029AbgKBFGV (ORCPT + 99 others); Mon, 2 Nov 2020 00:06:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725208AbgKBFGV (ORCPT ); Mon, 2 Nov 2020 00:06:21 -0500 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 163FFC0617A6; Sun, 1 Nov 2020 21:06:21 -0800 (PST) Received: by mail-pl1-x643.google.com with SMTP id j5so6248822plk.7; Sun, 01 Nov 2020 21:06:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=0i5kulrXeAXUUmHumUD66U2ITbxD8qnUW4/n36OfF0g=; b=oxLWWeV0SaX8q4sdK7/2sB2mbbneJH+6xiBYeqoFyU0KRp6CX4AAHRz6ZcIpCMuGs1 K57ec6IiNS0f09FIv7F0ALXBwtlgJkApB7AmFEzolud2Scts1RGkIMpChWza8ZWYqq32 iG9jnd6FoC1qoTUt8FG+Tqh96LB63osUaZFzASsd331qTXlfszZF8qEYTXDyIEPza1g6 rCQ6+kS0iVGm1BZVWvdi5ujQ+XT4q5cIgozr9tH4CuJAWawDb1tPvyX1UyBa64dZOmY/ Qseu2Xk2wdM8W4NJUc/aIg4txizhbYAMC1xRU1E+saPOrw0Lb6Opw2ZfetN7H7my9w9C FGgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=0i5kulrXeAXUUmHumUD66U2ITbxD8qnUW4/n36OfF0g=; b=TdFcON4xECEqAq8l0KuK9gJOM6sIOmDzkqV+exAz+lpzk+7XzgO6tNO4u3hrrV86sl 98XD0xf+z6fG5x1vH6qxichtqWYHpiPuR/H3QWC4Jw72gi+bYkh1GbM0s5zSrWMXByQp f5z8Zy/OhZ/RdZl3r00YVaxzE4DbgO5YLvsIaQA1f86QGI6jlebnYCEAPg8L3FYL/VwA rC8NQHIiQYqdd2BpdgC8LMI6kGHaRrZWViJ3rO+YPlof8abuzgddeHb3CfcFiSSe5AVi XayiZDuisKorGgIC2n9rQwG1wP9W4UKuC0ixVWzpdYGIPanUjb9uNwoNANEtv8CM0+Xr f7Vg== X-Gm-Message-State: AOAM533ZRYskGWpmWSMM+cpSfV4F6DsvD9oGLy16MdT2Na4WMB+yrmsI 7EYNs7Xea6+4AKAOSMJiy0HfLSR8BYpoHkDLO9I= X-Received: by 2002:a17:902:8eca:b029:d2:4276:1b2d with SMTP id x10-20020a1709028ecab02900d242761b2dmr19651785plo.17.1604293580359; Sun, 01 Nov 2020 21:06:20 -0800 (PST) MIME-Version: 1.0 References: <20201030075724.1616766-1-ajye_huang@compal.corp-partner.google.com> <20201030075724.1616766-3-ajye_huang@compal.corp-partner.google.com> In-Reply-To: From: ajye huang Date: Mon, 2 Nov 2020 13:06:06 +0800 Message-ID: Subject: Re: [PATCH v2 2/2] ASoC: qcom: sc7180: Modify machine driver for 2mic To: Tzung-Bi Shih Cc: Ajye Huang , Linux Kernel Mailing List , Mark Brown , Rohit kumar , Banajit Goswami , Patrick Lai , Srinivasa Rao Mandadapu , Srini Kandagatla , Andy Gross , Bjorn Andersson , Liam Girdwood , Rob Herring , Jaroslav Kysela , Cheng-Yi Chiang , Tzung-Bi Shih , Douglas Anderson , "moderated list:ARM/Mediatek SoC support" , linux-arm-msm , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , ALSA development Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Tzung-Bi I will release v3 version base on your suggestion Thank you for your reply Ajye Tzung-Bi Shih =E6=96=BC 2020=E5=B9=B410=E6=9C=8830=E6= =97=A5 =E9=80=B1=E4=BA=94 =E4=B8=8B=E5=8D=887:19=E5=AF=AB=E9=81=93=EF=BC=9A > > On Fri, Oct 30, 2020 at 6:55 PM Ajye Huang > wrote: > > But dmic_get() will need dmic_switch, should i keep dmic_switch? > > I see. I overlooked it. You can keep the dmic_switch for this > purpose or just call gpiod_get_value_cansleep().