Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2099761rdb; Mon, 20 Nov 2023 01:44:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHYdyvSygqNr4gb66uNKye/MJMsprRS8GTNoTjna36c0+LJzu018fm6OwiQE0XqwgwbHvte X-Received: by 2002:a17:903:1109:b0:1ce:1604:1d10 with SMTP id n9-20020a170903110900b001ce16041d10mr19379658plh.11.1700473457269; Mon, 20 Nov 2023 01:44:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700473457; cv=none; d=google.com; s=arc-20160816; b=HHEbYN7syr+73mH2u2elIIsl612KmKlpi7IPQSdRISJpqlilE9eoNbnIgB/QDw55Hx xUTEiKB26ys0sCLL111y09kzMV5mJvV++wF2tdxMdQECG6pKpBGMTy6jpPQFNAZY12bB IPgyr6xPVMN5Wj7uvmAjhWX0IVJzVHztOQD3xowfk2pLNSIJy/n5Zcv8vw0NxacfsAjQ 9eW6zIjvAQOEy8bOjIVfRW5ReoLephFlsl8+ZDps4zljiEGcKj9OrGzDlzszp1kK6ig1 o9w4BbwdR09hf9lzEZ85cbeNoICBBSb7vC4rf80AAu31git3PiMfzOMM99EXkfGYkbkK Gf2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=vQ2IyIVC8216MO+P/8nCTcn6PLpw2lKV/uP0jokEWtI=; fh=V53EetlyNp/Oa2YXuf6FigNmNwXmXoxQBAga8hdp9ug=; b=o0qLQMamep3F5zjjXikfO6FZ1s9asrBhTx0/FRK56xbPOv5eHqMv+pgUZgg06gacUu SaWWrkYiMaLiRzOiUPDTN17701qFBeslZHFUIkHe8Fa4Bxipb+TWkg6ze+SYMM79hhQD zk4hxhEH5MOrnz4jux/4axilqjXNYEFdtNEt5jMIXOxCLewB0BCUPUJaC8LTilcACSbx cWmHYv2dfTVHUZUyfo6WuZbfAVQl7FYIVbI85E9K4nLpXJW0zLFOSnz1XyIw6g0hIo/f tX7UvxLYOTzgKcJw/BT3e433Kp2q8pqklBBA6JytFNA1Bbtuaos3Lt6oLbD+hYxhG49/ j3rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=VBjMI8Hw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id t12-20020a170902e84c00b001cf56e3a193si3919263plg.168.2023.11.20.01.44.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 01:44:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=VBjMI8Hw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2B2F680A443D; Mon, 20 Nov 2023 01:43:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232454AbjKTJnr (ORCPT + 99 others); Mon, 20 Nov 2023 04:43:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231997AbjKTJnp (ORCPT ); Mon, 20 Nov 2023 04:43:45 -0500 Received: from mx0b-001ae601.pphosted.com (mx0b-001ae601.pphosted.com [67.231.152.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6272D94; Mon, 20 Nov 2023 01:43:42 -0800 (PST) Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3AK6U480003527; Mon, 20 Nov 2023 03:43:29 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s= PODMain02222019; bh=vQ2IyIVC8216MO+P/8nCTcn6PLpw2lKV/uP0jokEWtI=; b= VBjMI8HwRLIsrP6WwoQguHOkThfazIJH16oqinw0aoeCAysbWjuQgh9cLDnWt2Yl rBOdyyHZeaqkIY8JT/RR/jiTkwV8NN6g/+NHfv9M7U++kqK8K5mSnNmom2LiELFS ErRyCpzbX+Qh2CsmB2d5vMrqGXjr0n+8WxdOrOqXU6i28jdV2yhlVQVutFiWFcUP M8F0GbVE+WaZK4n2kEOAwzchSdLKAtdNDSR0SJCkR8XKskbmpeXBXCZVoY8L7f6j /m+hIM+ntu8VKvdm6f/cr+toW8OKnqcVoVOunLd9nE9kVT5Se75+s34fV3isQ0XX yI3U5mgUkxlWbTIFScWMzg== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0b-001ae601.pphosted.com (PPS) with ESMTPS id 3uetjp9n93-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Nov 2023 03:43:29 -0600 (CST) Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Mon, 20 Nov 2023 09:43:25 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.39 via Frontend Transport; Mon, 20 Nov 2023 09:43:25 +0000 Received: from ediswws03.ad.cirrus.com (ediswws03.ad.cirrus.com [198.90.251.123]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 81E9215B9; Mon, 20 Nov 2023 09:43:25 +0000 (UTC) Message-ID: <153531080cd3d36fea86263d393ef885533f6e44.camel@opensource.cirrus.com> Subject: Re: [PATCH 6/7] ASoC: cs43130: Allow driver to work without IRQ thread From: Maciej Strozek To: Mark Brown CC: James Schulman , David Rhodes , Liam Girdwood , , , , Date: Mon, 20 Nov 2023 09:43:25 +0000 In-Reply-To: References: <20231117141344.64320-1-mstrozek@opensource.cirrus.com> <20231117141344.64320-7-mstrozek@opensource.cirrus.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1+deb11u2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: 4ZFKJ0HZR7aS3bXlufFbMGcIRNV3gggY X-Proofpoint-ORIG-GUID: 4ZFKJ0HZR7aS3bXlufFbMGcIRNV3gggY X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 20 Nov 2023 01:43:59 -0800 (PST) W dniu pią, 17.11.2023 o godzinie 16∶36 +0000, użytkownik Mark Brown napisał: > On Fri, Nov 17, 2023 at 02:13:43PM +0000, Maciej Strozek wrote: > > Signed-off-by: Maciej Strozek > > --- > >  sound/soc/codecs/cs43130.c | 56 +++++++++++++++++++++++++++++++--- > > ---- > >  sound/soc/codecs/cs43130.h |  1 + > >  2 files changed, 47 insertions(+), 10 deletions(-) > > Why?  This isn't some obvious fix, you need to write a changelog > motivating open coding interrupt handling if there's some reason for > doing that. This is to support systems without physical IRQ connection. The device only requires the IRQ for a couple of internal delays, this polling mechanism is a fallback when no IRQ is specified.