Message ID | 20230918193042.31524-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2909714vqi; Mon, 18 Sep 2023 12:44:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvWreB1GG+6HkZi+EmT/6FHrcgBXRX8zqTPAsKKBjn2HgsACezRjp/nvVAQaalpXuwufj9 X-Received: by 2002:a17:902:82c3:b0:1c4:4c10:6ae3 with SMTP id u3-20020a17090282c300b001c44c106ae3mr6648995plz.23.1695066287608; Mon, 18 Sep 2023 12:44:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695066287; cv=none; d=google.com; s=arc-20160816; b=It7K13EDjoxMNdytJM6ZGhPbd2DT5gSxne6Lnc4rjz3cDAOYxMJgxF+MjKb5N8fOkD AmjGl9w4xxMHDMdYuONyMs91WghNFjy40cN8YFPU1Jjyw25LkOtrBg/ghxzfAQo585OI A7wwrtFKcf9ESzBBzIVyc5s03PWm+tdgWVS+d8vF6gUYQmp94pE7XjIKvUyrlfIlxshj cINF/T+rX2T0Id4ZMFS77l/dtANdr+iFKiW6WarIFcPlk2ovPMyunBuEBy9+dX7JBy3W CsKqmpSEp6sj12AApymeIRPNNBA5MWUf0EunZ9jaGo9ic2Y7/E/WeKXgOZbCy9bIbrQB d0dw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=WjAGfeimratsUjROsssvUEhysKjXohiEHjdvItodlXc=; fh=Qa49ECp8dMm1eQw8AKrVEHM7kddgoIirGnBhZDy9hS0=; b=qv+u5WLos42JoXK3B7xCFd2h5bQ6tdOc6BT/acCnMUU9FLJhf4RbORwPy/t18CZl/9 5QoSR8lg9eLMk0GTKfJdhveYSU1ng+SYiLGE3y+0yOzo6sMvOgbB/Y5D6XFjoN51EoEy bfqRyOywtNyyDSCxWSlNGIVEmtYWNNtW1KlWBaGWbNh3wjJX5odoqojXXscOemm6sHdr qugMWFvwEcVuP8aTlHhvX6WOn3hsYasvM9l4tfRaozimGvJ1MvnBrCrYg/auAuUCInAd DdVm7mNDlNbd98q7gYTnBZIT6oePrVUSWnqeqbu6zQ2ZBKXPartpWesKyxSxd4q44uHQ eKag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UqnMbUb6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id n16-20020a170902e55000b001b8ae9058d3si8949583plf.516.2023.09.18.12.44.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 12:44:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=UqnMbUb6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id F0DF2805A78F; Mon, 18 Sep 2023 12:31:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229554AbjIRTav (ORCPT <rfc822;kernel.ruili@gmail.com> + 25 others); Mon, 18 Sep 2023 15:30:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjIRTau (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 18 Sep 2023 15:30:50 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6B2710D for <linux-kernel@vger.kernel.org>; Mon, 18 Sep 2023 12:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=WjAGfeimratsUjROsssvUEhysKjXohiEHjdvItodlXc=; b=UqnMbUb6aiH8ne5wsoeSYpw+iI 7jD6XuSual3ZoBM0Hxbeq9Iw7qGSKuNr6XLbj5LqIe2PM0HX/77XJO9GdR/ZvYN2eEhFXBkZzXmkH 7jn7y64xp6y8d5rJQDdDptd9I7YcI3ydmjWRol+xe2g/TKrO4PVn4u6ITdckqJCRJDIOE9MQ2JDgZ zrun5Sg5lWgMA02zwXvwlDNL+lM066/7Rb2jFTbMHIU+anlWdOVetNr14gQ4SCeDLRrf0FpBvADbd 8ECqEMcFbDfXhOG17B4LJ5PeDo7G6Q9tJMNiWQj3vU29KbNH2v3PjUF2n+QrVi29YQeKliAcagYEm Dl2AVrPQ==; Received: from [2601:1c2:980:9ec0::9fed] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qiJxE-00GCGq-1N; Mon, 18 Sep 2023 19:30:44 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, Charles Keepax <ckeepax@opensource.cirrus.com>, James Schulman <james.schulman@cirrus.com>, David Rhodes <david.rhodes@cirrus.com>, Richard Fitzgerald <rf@opensource.cirrus.com>, alsa-devel@alsa-project.org, patches@opensource.cirrus.com, Lee Jones <lee@kernel.org> Subject: [PATCH] mfd: cs42l43: add REGMAP_IRQ requirement Date: Mon, 18 Sep 2023 12:30:42 -0700 Message-ID: <20230918193042.31524-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 18 Sep 2023 12:31:14 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777405827247871301 X-GMAIL-MSGID: 1777405827247871301 |
Series |
mfd: cs42l43: add REGMAP_IRQ requirement
|
|
Commit Message
Randy Dunlap
Sept. 18, 2023, 7:30 p.m. UTC
The cs42l43 core uses devm_regmap_add_irq_chip(), so add REGMAP_IRQ
to what the core driver selects in order to provide this API.
This fixes a build error:
aarch64-linux-ld: drivers/mfd/cs42l43.o: in function `cs42l43_boot_work':
cs42l43.c:(.text+0x19d4): undefined reference to `devm_regmap_add_irq_chip'
Fixes: ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Charles Keepax <ckeepax@opensource.cirrus.com>
Cc: James Schulman <james.schulman@cirrus.com>
Cc: David Rhodes <david.rhodes@cirrus.com>
Cc: Richard Fitzgerald <rf@opensource.cirrus.com>
Cc: alsa-devel@alsa-project.org
Cc: patches@opensource.cirrus.com
Cc: Lee Jones <lee@kernel.org>
---
drivers/mfd/Kconfig | 1 +
1 file changed, 1 insertion(+)
Comments
On Mon, Sep 18, 2023 at 12:30:42PM -0700, Randy Dunlap wrote: > The cs42l43 core uses devm_regmap_add_irq_chip(), so add REGMAP_IRQ > to what the core driver selects in order to provide this API. > This fixes a build error: > > aarch64-linux-ld: drivers/mfd/cs42l43.o: in function `cs42l43_boot_work': > cs42l43.c:(.text+0x19d4): undefined reference to `devm_regmap_add_irq_chip' > > Fixes: ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver") > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: Charles Keepax <ckeepax@opensource.cirrus.com> > Cc: James Schulman <james.schulman@cirrus.com> > Cc: David Rhodes <david.rhodes@cirrus.com> > Cc: Richard Fitzgerald <rf@opensource.cirrus.com> > Cc: alsa-devel@alsa-project.org > Cc: patches@opensource.cirrus.com > Cc: Lee Jones <lee@kernel.org> > --- Someone already sent a fix for this, that is awaiting review: https://lore.kernel.org/lkml/tencent_E54C7156F583E15FFE320E576E3389C39A08@qq.com/ But just incase this one gets picked up: Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Thanks, Charles
diff -- a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -241,6 +241,7 @@ config MFD_CS42L43 tristate select MFD_CORE select REGMAP + select REGMAP_IRQ config MFD_CS42L43_I2C tristate "Cirrus Logic CS42L43 (I2C)"