Message ID | 20230508040208.12033-1-lukas.bulwahn@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1900274vqo; Sun, 7 May 2023 21:09:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4f4pV5pCIM5fouBxtmktez52qvyz5zymZVDRb5VDqlQE6V60t3GlizgFINN02vAg4Zy0BE X-Received: by 2002:a05:6a00:248d:b0:626:29ed:941f with SMTP id c13-20020a056a00248d00b0062629ed941fmr12448169pfv.5.1683518965889; Sun, 07 May 2023 21:09:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683518965; cv=none; d=google.com; s=arc-20160816; b=taZYWEQyVxsi22TM+YuI8f19N4PM0nJY9aZ3AH+WBWobvDcEAV9vuqGDmGuP+9g7Vi T1Hnb+oaaxwkCDVQkWmCWaSTlURQ5gmPcbln1sfxYDTetVmHv3amLRXsfInMz5ExOquV c2VB27dwgaDxg5QKoNDhdi3yor+4fqKqWsmxPFuh8l+PIx08dwRr2wR5huzOf1qKZhPt T73EpUD+bqQT+eRGwAaWjuEizZOPx+2RZxeaSwh1LgXRR1xG0d/4T4xq0E6G5JSOyh/M dq4oGSXXNpHfPGCXSMuGWx1QRVt4grIwPH+51WCEFze439i5lseNpo/fVknwiVBkZ4Fd mt6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=gRDFA2Oq3a7TFMTFPjEDpCf3c96bA2T/fIIJ3Z+9UNA=; b=gDoNv+d3XoU8dvybuAmTvsbQXcK0sTST8jjrHOya7UTF8zG/bOcsCTQEe+asyRIdwe ZNRroVGhnZ51xB7EyqywTdxIUrzTsdQY7zDbdDzPY2TtziVMhZ5B4WL+fb387vWK16QO 4gYfoSWkRBCLcM9ubuvFt75FSlN6sNX2eOiBdY83olhhUHflHRnPAajzLUhX9iZwz369 9FNtY5WgDlRxnB4ETDqAOfe1yweNt5/bmYJemC4xyX5SgFAdNx38FNvOa8RLSrOT+A3E noURckJS1dNpyimdgJp5Sopl6FTUPw8BAuGL71lWJOfVwqOPu8XqaKLr3QMewpymcCgO E2hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Kl05KRFv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d18-20020a621d12000000b0063d33dc49e8si7374957pfd.363.2023.05.07.21.09.13; Sun, 07 May 2023 21:09:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Kl05KRFv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232442AbjEHECR (ORCPT <rfc822;baris.duru.linux@gmail.com> + 99 others); Mon, 8 May 2023 00:02:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230348AbjEHECP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 8 May 2023 00:02:15 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49FF54224; Sun, 7 May 2023 21:02:14 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-965a68abfd4so761799466b.2; Sun, 07 May 2023 21:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683518533; x=1686110533; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gRDFA2Oq3a7TFMTFPjEDpCf3c96bA2T/fIIJ3Z+9UNA=; b=Kl05KRFvCTs1ljKqfwvJrspDTYYwuJGHUrj/k2AEMXP5zWezRj2mMKeoDLxEbbYhj/ BXla76hGiGt9Lpa5vpm7n8JT19kABnpbgZjyrvBFTG0IIWdLcZEVdy7vkwj/QuC/MCtf vKmHEjjOWbtRW14l3jLavWEddU0f8j+sxo4Ph0wppOvlu4oq6jxi36VmcN2nJnJ0/czc 9mJ8TTqJkQdQjbcwqWhnlFXtnQVjdMAd2cBmADh/nKHoYD4I1SAU3EUN3aduq32oiOp0 +f8iOWov9rEqda5MA3dAZrE5AQ/LWoQHWGN3sGC78pTo78XHPXAC3s+HqGChNKt9Nyf7 LO7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683518533; x=1686110533; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gRDFA2Oq3a7TFMTFPjEDpCf3c96bA2T/fIIJ3Z+9UNA=; b=bqQlqWPcES9e1N/ydjGZz7+CWw39qAqrSWI7K6WM/aOA9TMfLGkbiJqMLOsRV1u76J reWTlGEytuW0UUUIvi89ptdwfr316qhAZ1SZ8J/4ZmFKRAswIt6b22JBRIk7jUk5d+Yx 1rJIfNNi1c2wD4ekfPHsHqO/N4U+4Eh/zEI7Tb6fy+l9rOkwqwhK4428qnpx6t8OYueo TBp8Cwpm6S9PMygBsKJOxJ5CKog5yvuPXQ537EkCUbTjGDT3IJVH9KtH54voRAHL2EW2 rjzGM6prGvgYLNSAxIV12cK3HVVQuEU89lv9S9aZsO+hnD7xHkCFd8+Vum2Mss/ZxJyw +hQg== X-Gm-Message-State: AC+VfDxXHTwWK8G9fZbpIrAM3To/J5n+xUv+J0h8tqMIAR12BmOYb3SL vNPhGeGxbS09TVq5A6EkoWs= X-Received: by 2002:a17:906:9b8a:b0:961:272d:bdbe with SMTP id dd10-20020a1709069b8a00b00961272dbdbemr8053329ejc.35.1683518532543; Sun, 07 May 2023 21:02:12 -0700 (PDT) Received: from felia.fritz.box ([2a02:810d:7e40:14b0:8906:f99a:ce33:2033]) by smtp.gmail.com with ESMTPSA id ka7-20020a170907990700b00947ed087a2csm4391606ejc.154.2023.05.07.21.02.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 21:02:11 -0700 (PDT) From: Lukas Bulwahn <lukas.bulwahn@gmail.com> To: Lars-Peter Clausen <lars@metafoo.de>, Michael Hennerich <Michael.Hennerich@analog.com>, Jonathan Cameron <jic23@kernel.org>, Stefan Popa <stefan.popa@analog.com>, linux-iio@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn <lukas.bulwahn@gmail.com> Subject: [PATCH] iio: dac: build ad5758 driver when AD5758 is selected Date: Mon, 8 May 2023 06:02:08 +0200 Message-Id: <20230508040208.12033-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765297583462705677?= X-GMAIL-MSGID: =?utf-8?q?1765297583462705677?= |
Series |
iio: dac: build ad5758 driver when AD5758 is selected
|
|
Commit Message
Lukas Bulwahn
May 8, 2023, 4:02 a.m. UTC
Commit 28d1a7ac2a0d ("iio: dac: Add AD5758 support") adds the config AD5758
and the corresponding driver ad5758.c. In the Makefile, the ad5758 driver
is however included when AD5755 is selected, not when AD5758 is selected.
Probably, this was simply a mistake that happened by copy-and-paste and
forgetting to adjust the actual line. Surprisingly, no one has ever noticed
that this driver is actually only included when AD5755 is selected and that
the config AD5758 has actually no effect on the build.
Fixes: 28d1a7ac2a0d ("iio: dac: Add AD5758 support")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
drivers/iio/dac/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Mon, 8 May 2023 06:02:08 +0200 Lukas Bulwahn <lukas.bulwahn@gmail.com> wrote: > Commit 28d1a7ac2a0d ("iio: dac: Add AD5758 support") adds the config AD5758 > and the corresponding driver ad5758.c. In the Makefile, the ad5758 driver > is however included when AD5755 is selected, not when AD5758 is selected. > > Probably, this was simply a mistake that happened by copy-and-paste and > forgetting to adjust the actual line. Surprisingly, no one has ever noticed > that this driver is actually only included when AD5755 is selected and that > the config AD5758 has actually no effect on the build. > > Fixes: 28d1a7ac2a0d ("iio: dac: Add AD5758 support") > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> oops. That's been there a while so good spot! Applied to the fixes-togreg branch of iio.git and marked for stable inclusion Thanks, Jonathan > --- > drivers/iio/dac/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/dac/Makefile b/drivers/iio/dac/Makefile > index 6c74fea21736..addd97a78838 100644 > --- a/drivers/iio/dac/Makefile > +++ b/drivers/iio/dac/Makefile > @@ -17,7 +17,7 @@ obj-$(CONFIG_AD5592R_BASE) += ad5592r-base.o > obj-$(CONFIG_AD5592R) += ad5592r.o > obj-$(CONFIG_AD5593R) += ad5593r.o > obj-$(CONFIG_AD5755) += ad5755.o > -obj-$(CONFIG_AD5755) += ad5758.o > +obj-$(CONFIG_AD5758) += ad5758.o > obj-$(CONFIG_AD5761) += ad5761.o > obj-$(CONFIG_AD5764) += ad5764.o > obj-$(CONFIG_AD5766) += ad5766.o
diff --git a/drivers/iio/dac/Makefile b/drivers/iio/dac/Makefile index 6c74fea21736..addd97a78838 100644 --- a/drivers/iio/dac/Makefile +++ b/drivers/iio/dac/Makefile @@ -17,7 +17,7 @@ obj-$(CONFIG_AD5592R_BASE) += ad5592r-base.o obj-$(CONFIG_AD5592R) += ad5592r.o obj-$(CONFIG_AD5593R) += ad5593r.o obj-$(CONFIG_AD5755) += ad5755.o -obj-$(CONFIG_AD5755) += ad5758.o +obj-$(CONFIG_AD5758) += ad5758.o obj-$(CONFIG_AD5761) += ad5761.o obj-$(CONFIG_AD5764) += ad5764.o obj-$(CONFIG_AD5766) += ad5766.o