Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3084638rwb; Mon, 15 Aug 2022 17:45:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR4dQoluRkzwhFArdKERFZ0E/TykyEMnsZmlahQRWoNtPA/w77tOQd6r+lhnNRm1W6mLeJ6G X-Received: by 2002:a05:6402:4241:b0:43d:a7c9:8b21 with SMTP id g1-20020a056402424100b0043da7c98b21mr16745635edb.374.1660610710534; Mon, 15 Aug 2022 17:45:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660610710; cv=none; d=google.com; s=arc-20160816; b=S3/rcLBVIUVLymu66+CK0j4Jfl7qwK9R/JctLtCbq0QO8UMh9tKWa8IXBap+iFFs3f VbxVB2DaXqpdzQVL4c4+37lwC0edL7S1h3BRoqojFzJYvenRddFf6X/tUPXfvZx7Lvdx CdxLy2NAdIig+VXDeh4ouyjbLJQl0UmZcD7ScWXTeMqqkDPXtXlmUfFrnWAuTjlQ1NBn mWeRHIXGCuYNxQn62dSig4fQgimKvgwVDvxPjHqQZwCv0l2eFKNvuxdcSdbsYmSo07qW If+MWrCyEPwvCAy/A/qWD4+tQkvu3yJbq2lmrPLW+2oz2PYg4VZjj4i5wqu/Q4aktLiF yiXQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=Ap2qAv0euP22osycmaL/icvbeyj9ZofMFrsECas5U+g=; b=xG8+4MZ4CzTRAsoQ9IPPPUREdwBs4F1BS9itUnmIDeXkHzmwYuIx6cP2TduGTKiLKq dxx141DNcDFUxsIxjX3Dymag0KLkHXXiNhKe4QUUZ3BxokuSdW4gs1AZy+ocP7UCbG4J BbAqwsByMBexZ3oMFSEtNI0lWRFZoiu0zvli7BPs6qe6XJzphvT87BTulbhgTkaFGuKn kf29WOhnvbfeKnYYtwyrlrWrDq4g0HJK5Vi/twNCLsdSBMaxdvZjEknsiDe9S3A04MHm AaorpIt9w9MfhUZufB2WOvDIVFEY4UzhbCyGvz2j1PWJcybfgKJNIWfVf2t+7ekH4eWV 5SKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VpVWO1Ob; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h15-20020a05640250cf00b0043bee43477csi9055266edb.576.2022.08.15.17.44.44; Mon, 15 Aug 2022 17:45:10 -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=@linuxfoundation.org header.s=korg header.b=VpVWO1Ob; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353562AbiHPAKy (ORCPT + 99 others); Mon, 15 Aug 2022 20:10:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356050AbiHPAB5 (ORCPT ); Mon, 15 Aug 2022 20:01:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8071916814D; Mon, 15 Aug 2022 13:23:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C2DDA61058; Mon, 15 Aug 2022 20:23:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3CB6C433D6; Mon, 15 Aug 2022 20:23:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660595004; bh=Bc1TolM682MDUtF/9AwyY7cOvy03uM8FRp6Z0YxCu+g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VpVWO1ObQOJqDA4g/H4DFvtsqn1sO1XKLCHvJ+XkniI6LW7w6UNYzVFXr/SsRw7RX x1lYiAIVH3oc+cieGmz1QM64UykW41NrlzjMaS4a38Dn7CBWYwpwR0lFR53CA1RWFP BH3kN+KuYUBDf2hpJZb+oybxnTbCM5RGCaXoLzQ4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Gwendal Grignou , Stephen Boyd , Jonathan Cameron , Sasha Levin Subject: [PATCH 5.19 0627/1157] iio: sx9324: Fix register field spelling Date: Mon, 15 Aug 2022 19:59:43 +0200 Message-Id: <20220815180504.742854725@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: X-Mailing-List: linux-kernel@vger.kernel.org From: Gwendal Grignou [ Upstream commit 0b24034c7ffa20bcfb4fdfece1df770ec5b0a634 ] Field for PROX_CTRL4 should contain PROX_CTRL4. Fixes: 4c18a890dff8d ("iio:proximity:sx9324: Add SX9324 support") Signed-off-by: Gwendal Grignou Reviewed-by: Stephen Boyd Link: https://lore.kernel.org/r/20220429220144.1476049-3-gwendal@chromium.org Signed-off-by: Jonathan Cameron Signed-off-by: Sasha Levin --- drivers/iio/proximity/sx9324.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/proximity/sx9324.c b/drivers/iio/proximity/sx9324.c index 63fbcaa4cac8..a30ac8007a3d 100644 --- a/drivers/iio/proximity/sx9324.c +++ b/drivers/iio/proximity/sx9324.c @@ -93,7 +93,7 @@ #define SX9324_REG_PROX_CTRL4_AVGNEGFILT_MASK GENMASK(5, 3) #define SX9324_REG_PROX_CTRL4_AVGNEG_FILT_2 0x08 #define SX9324_REG_PROX_CTRL4_AVGPOSFILT_MASK GENMASK(2, 0) -#define SX9324_REG_PROX_CTRL3_AVGPOS_FILT_256 0x04 +#define SX9324_REG_PROX_CTRL4_AVGPOS_FILT_256 0x04 #define SX9324_REG_PROX_CTRL5 0x35 #define SX9324_REG_PROX_CTRL5_HYST_MASK GENMASK(5, 4) #define SX9324_REG_PROX_CTRL5_CLOSE_DEBOUNCE_MASK GENMASK(3, 2) @@ -810,7 +810,7 @@ static const struct sx_common_reg_default sx9324_default_regs[] = { { SX9324_REG_PROX_CTRL3, SX9324_REG_PROX_CTRL3_AVGDEB_2SAMPLES | SX9324_REG_PROX_CTRL3_AVGPOS_THRESH_16K }, { SX9324_REG_PROX_CTRL4, SX9324_REG_PROX_CTRL4_AVGNEG_FILT_2 | - SX9324_REG_PROX_CTRL3_AVGPOS_FILT_256 }, + SX9324_REG_PROX_CTRL4_AVGPOS_FILT_256 }, { SX9324_REG_PROX_CTRL5, 0x00 }, { SX9324_REG_PROX_CTRL6, SX9324_REG_PROX_CTRL6_PROXTHRESH_32 }, { SX9324_REG_PROX_CTRL7, SX9324_REG_PROX_CTRL6_PROXTHRESH_32 }, -- 2.35.1