Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3086717rwb; Mon, 15 Aug 2022 17:48:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR5UxP2aAAbtcUyU2NQMlFNkxYF2XGAKpStZLKzt3gpZlFNYrC/0wm655perqrBrKfBcXbKU X-Received: by 2002:a05:6402:e96:b0:443:a086:e3e8 with SMTP id h22-20020a0564020e9600b00443a086e3e8mr8458417eda.330.1660610897697; Mon, 15 Aug 2022 17:48:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660610897; cv=none; d=google.com; s=arc-20160816; b=pF1Iv06cPKLif6XpL53+BIbCSCGhZb5B/j/XZ6d9J619lePrQGT69V8WoCFq/yOek9 JnuPJT84pbDuQ0Vxgl5ciwk9RlQ1/aLV8q/H7w+oVcvlQH+Gtw4akQJuCdE6UID2w3lQ Hgil+Vs1F8jXvkGPTQZQ97JNZozhCkDxZgipLr9dfw+ebthngs0P5N0F6LrLtWLKapxv G85xmjDN/FxVlp5lCQxAuiitIT8RTPxI/w1nmCbuhdgSwqQRGLw/k3XWDtuarJsdFKLy ceQcLEvI7eOUZO1C751cyxUhypH3hbgp8Oa7L9BY4FW70OUJnujuXltycn+VExb+OvBm fCCw== 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=etdnUXpEwGcwV6eULOqNPmyzwdBFvkgBwCK1O8rSse+kQA3IBbzuy2SJi6tqrDjKhr XxSg3W1H9JWM8zWjQv1ZIIFmo0rgKthHwnsrr24qDelY0bZgzcNdBJRjzq8KorMuu+rW sk8xmnwLxqX5wqoTP9WySCrRQDSg3Q8s1H2TDhZz+PFdZxU8sgB4o/GzjYV0QKZrbuzM ij60ilIQOoaxTKEpo2NCMxPuDBc7JYgFom8CUOel84FWHc3da6iai72ajJsspuT5i8XN K5ZawgMdt/6Fd5bmXNj+PC8Sqg5Rz6tj52fHGWDmVjOmvumwBesdU6t4svO2Gu5PfyQC 8pIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bGycBrHS; 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 jg34-20020a170907972200b0072b29827476si9282344ejc.287.2022.08.15.17.47.52; Mon, 15 Aug 2022 17:48:17 -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=bGycBrHS; 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 S1349157AbiHOVja (ORCPT + 99 others); Mon, 15 Aug 2022 17:39:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349053AbiHOVgd (ORCPT ); Mon, 15 Aug 2022 17:36:33 -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 7AF683DF3C; Mon, 15 Aug 2022 12:26:10 -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 14C636101B; Mon, 15 Aug 2022 19:26:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C958C433C1; Mon, 15 Aug 2022 19:26:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660591569; bh=Bc1TolM682MDUtF/9AwyY7cOvy03uM8FRp6Z0YxCu+g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bGycBrHSz0dhz81UJCrajp9ZdDZlI3kktqt/QcFWaBw6yY4A36rREFAzVPbFMXa5H RGNZk1+s/Lvm/xOvpXuzedL8XS6CKyIB8DtVlaTuqQDHUbHQUPei/2dht0YyY3h1nk B48gahnkcy/5ADmbSS+nrt0KFcel9G9/qRo78s/E= 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.18 0583/1095] iio: sx9324: Fix register field spelling Date: Mon, 15 Aug 2022 19:59:42 +0200 Message-Id: <20220815180453.708059871@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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