Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp594086imm; Wed, 26 Sep 2018 03:56:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV63MG8IMbD+3gEw5yP1p7V46ARDSImqTlGc/I78DdvYR/7ZWQxAEuf4qq4KTJJVovLmj/Esp X-Received: by 2002:a17:902:7009:: with SMTP id y9-v6mr5513304plk.328.1537959400065; Wed, 26 Sep 2018 03:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537959400; cv=none; d=google.com; s=arc-20160816; b=w2JtAXiXGR4cjhLXZISF871Z3srVbousSR8JyJ4lMIPfpu9oD5XAGUx/J0rf/VyMP1 kES5rruWhASwr3PihqxaW6BiuCbRlIySOvsCjMkxgsICuicD74/7zu8W5tZ3c9S2roiF IDcpHJzjCo1YfmYSAAYkZcmUWJreO6cXvtd99wJ0/chwmgqxG9X9FAqEbUz2zAjiJ/mu cRtptYnNI2DExSN3eIA6oVm1LJg/kkH/Pq64o6nyQQS9YuxtFgYi9S3MGjKMLViJE520 ys4ujcJYXjP74B4P0q4XjMmU1V3hLGSiwubMQem9fNtiUwkzM4Dv0VH8xAkrZ0Zb8Yj4 hwMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=95u3iMNFx3mOvuTdGst5f8Nuu/fSzvMzL2bvIXTVBCY=; b=Cb2Hi/prewv7G62ki9fY2kEA+fK6654LJ3D58CpEXyn2WcNJ6iBJNg0fRSXXrcdjQ9 ZzWISQ6I+wAE3xsI1nT2RuP1gdDGkatFIvhUcfETgTcPsFpZUkHyLvuiyTCF8MyQXhFH /EUVUxYtXswg6kwDrE+zyGMMQL8hkaH06ZRpIQHkbm0e02W/66fI9M0pxRGD10PfHMgS MUD2sBBpZclap6UDLY+anCVNgf4cKfed49uY5Zcii9UD9UvN4aYYDFS+cXGoJg6iIp78 caMTsigDq1745imVuJMQXId9CxJ7gGEl6ggqUjf8x6YOM8+lVVZG6Brdzt/w1m0Kkba7 yDXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KAqOhUwi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p33-v6si5394370pld.151.2018.09.26.03.56.24; Wed, 26 Sep 2018 03:56:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KAqOhUwi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726994AbeIZRI1 (ORCPT + 99 others); Wed, 26 Sep 2018 13:08:27 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:34555 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726593AbeIZRI1 (ORCPT ); Wed, 26 Sep 2018 13:08:27 -0400 Received: by mail-wm1-f66.google.com with SMTP id y3-v6so717775wma.1 for ; Wed, 26 Sep 2018 03:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=95u3iMNFx3mOvuTdGst5f8Nuu/fSzvMzL2bvIXTVBCY=; b=KAqOhUwiy4sKr4JwuxMVw7INDWXis01UI0E4aLntMSxsHGsUeAVSlE5K2y0gCtBRpc XQCnq7Rxe+KX+Be6N2PUFOrId4PkxFfKLHxDVSMxKKLgCk+usEti+UhTTM+pckxklVLX nmXts9YsKiYA79toVpc8dC09KIaDyllatJT8k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=95u3iMNFx3mOvuTdGst5f8Nuu/fSzvMzL2bvIXTVBCY=; b=p1cx4ssZ9Dp9qOGlMc/fZx0eNMdMCX8wkWhhQggIzk1M//Vt00BUExAYpfHNBhdjkj /IZm4X2dMPavMax6D5wVzECHp9SuDvHJkDqvGZrL8+A2lCJmosOhpXTpwPJJOkUiYFG0 sGMOjhY/o4jSBo8ooUHbLRQH0RwYyVu9Ifoxb3e0/xVcniCXI09jqUQAupHL5tXYIqbX kgxiHD1DXJpCpP5/2regeXyOoKdKuIhxXVfA8svdOV17qXL5d0CCSbeRr2uCeSjNR5KG VmRAYW72vg6YZ423Vo+M+k2s8EhzADY7nuL7ZmZSP0TNWSbPsSl0tH1g43gHWYv9SA3O sN1g== X-Gm-Message-State: ABuFfogMbZyBgF/33UVnuiqX4qbBUOAhZuK3lwKc1F5xRyMZtH2HUf1j ChGfF6Gu/mrGDcbNujqnP0KO0Q== X-Received: by 2002:a1c:706:: with SMTP id 6-v6mr3678613wmh.83.1537959362913; Wed, 26 Sep 2018 03:56:02 -0700 (PDT) Received: from [192.168.0.19] (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.googlemail.com with ESMTPSA id k63-v6sm8496544wmd.46.2018.09.26.03.56.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Sep 2018 03:56:02 -0700 (PDT) Subject: Re: [PATCH v4 11/14] ASoC: wcd9335: add mbhc support To: Banajit Goswami , lee.jones@linaro.org, robh+dt@kernel.org, broonie@kernel.org Cc: mark.rutland@arm.com, lgirdwood@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, vkoul@kernel.org, alsa-devel@alsa-project.org References: <20180917005727.32728-1-srinivas.kandagatla@linaro.org> <20180917005727.32728-12-srinivas.kandagatla@linaro.org> <8582abce-b1c8-24fc-7db2-b7101a6e1362@codeaurora.org> From: Srinivas Kandagatla Message-ID: Date: Wed, 26 Sep 2018 11:56:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <8582abce-b1c8-24fc-7db2-b7101a6e1362@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/09/18 10:31, Banajit Goswami wrote: >> +static irqreturn_t wcd9335_mbhc_sw_irq(int irq, void *data) > Are we supporting only headset and headphone detection for now ? > Extension cable and electrical detection will be supported later ? > And how about cases for slow insertion scenarios ? > I can not test extension cable and Other features like electrical detection will be added in future if we need it! --srini >> +{ >> + struct wcd9335_codec *wcd = data;