From patchwork Wed Oct 18 13:09:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 154877 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4779443vqb; Wed, 18 Oct 2023 06:11:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IErCR8gGRNAexCGH3XlJU3OP7kcshpVwvnExRNGo0v+KYs/3gB4yQ2AWgp5en66t1RDAYE1 X-Received: by 2002:a05:6359:5e20:b0:166:d93e:339 with SMTP id pw32-20020a0563595e2000b00166d93e0339mr4990161rwb.0.1697634684731; Wed, 18 Oct 2023 06:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697634684; cv=none; d=google.com; s=arc-20160816; b=Lilcz7bmO6zItJuHFivhhjcuxdxF4w8+dSJmqm+Ms08SAs0041A0/DYQbXFpoxGnTY JntFAd67V8q85jsLdXxJ4crbR7hTDPqMezHrec9G59zZPWDdvDNbvRJceEN5DKTWo4B/ 06M8siS6ZX0HPb9EswQLgBchB7KC6B8cG9IxWt+EKACDMxRBmmOUC4D2rnToCRePO0R/ Hag0DON7V0HPstqHTjgatl2JRMXosRM25a0R1Qg3TOvZoWamO2yMMfTK0/ELNqD0F6S8 hOh7FF8dyN7jrApkwFOzGt98w9aMVdUQ3A2yTDSdac3dW7Umwo3k9CZh+z0rm3xPoQ/N 5b/w== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=I2HMXOLF5eJrUMENCt8aiW3aj9mFErqyM1uPwOqtdoQ=; fh=iYdllK7a7T0mQJthLwFYqIDLdNEyTFnVqheziwBmhGQ=; b=E8uF2nQupX2s90BzvzPzqCsfpcBYh3C7OJq7gs+chNE6GWi37HyK13OYRvhG9TbbDV MzVkkWzqxKxDOcHdqCWR5td6y3leAUGdgCvgmdfk6NE3abPy+zz4LDT8SnLX1iyq/Ezz Yfmqxb++/FkuMX7wIW4BR7zZBAkn0BWkoc2yBgoAeFbR5dlwpRgVad01ttNNDtwKfF1x VfFSEYQ1kpImVGMhvyHCnaWkb0GTmGH+GCB/qx/u4jXLfjYErPm/rrWZqb5+cEJnQ9kz 795ilNeC7/4eicYHGg8igesgp75AO4GXmpJIx+8RTzm+O34f70kt/51VezMKq5KO4a9G yMjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NBiaamK4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id q13-20020a056a00084d00b006bd9c159a98si639921pfk.186.2023.10.18.06.11.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 06:11:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NBiaamK4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 2A91C803EE0E; Wed, 18 Oct 2023 06:11:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231210AbjJRNKw (ORCPT + 23 others); Wed, 18 Oct 2023 09:10:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230402AbjJRNKq (ORCPT ); Wed, 18 Oct 2023 09:10:46 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1439112; Wed, 18 Oct 2023 06:10:43 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4083f613272so3680495e9.1; Wed, 18 Oct 2023 06:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697634642; x=1698239442; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=I2HMXOLF5eJrUMENCt8aiW3aj9mFErqyM1uPwOqtdoQ=; b=NBiaamK4tLf/pEsdoBDctC8ja8rrZYlkkF+f+eRusURjMFf56vq1X2tyDyxYxUfo8e Fe6KfJGuGMq693I20k3l93yVXjVevxMCrMdIbqZRairIFitnfp4h7rThaxX1PLqXeyJW RYp1QavzyLp1VEO7/CBDv2+XpYKogsDjiffO2MjVcC6jBvJjClYZm7KH1AYM0lBoF/+y IG1kv1VAKC6ranWF3xkYrX79N0qeTWdq8v3e585ruTlrtPK9swrr0Z+vc1Z2gOq45wKx ZMucc2GVZPhzozHJHVwhlGMhKuGL6ZRD0pQwZttnMh32Mfm4K4SGdopR1FIAl/R478+V MxwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697634642; x=1698239442; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I2HMXOLF5eJrUMENCt8aiW3aj9mFErqyM1uPwOqtdoQ=; b=QFnJkHuS+CVEJgA/va4d3nwVjCSDqosLnnoNCSxwRo6oDeknZ0HOuh4tIR6xPgpPvD NvXpiUhKRPXtTaZYYeeGmSVU8YgnlrlqRr6pLZvFTvcQKaIW+oIS5dKL1QRFdl17OM2N 6ZOcUkloMAW4BOB+v4CYaTXzgDhckzlXXEFflUBS/PLimqlVTEGJkptI++B+ixPO0Spx LyzTT6ilUMcwPrbSVrzQfmwe6BekmwU1t5A6DZh3NEwFjzzhEhQQKOxd7S/9T344MCW+ /sWzp5H77lGnImXERAC8Kvz2eOqJ+LaC+0/dlWT86QqC5d4HhxKNnDqhPMiFRyASgsjz nVzw== X-Gm-Message-State: AOJu0Yzpdw7QRNfBucaLq1tTuMIpSAp8QiSXQBOn6fiMJLW5hvg4Prhu wrkDcbRDlKCcTbvHecrTeKY= X-Received: by 2002:a05:600c:3112:b0:406:7d74:a2a4 with SMTP id g18-20020a05600c311200b004067d74a2a4mr4096893wmo.12.1697634642056; Wed, 18 Oct 2023 06:10:42 -0700 (PDT) Received: from localhost.localdomain (93-34-89-13.ip49.fastwebnet.it. [93.34.89.13]) by smtp.googlemail.com with ESMTPSA id u6-20020a05600c138600b004064288597bsm1677426wmf.30.2023.10.18.06.10.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 06:10:41 -0700 (PDT) From: Christian Marangi To: Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Kalle Valo , Matthias Brugger , AngeloGioacchino Del Regno , Christian Marangi , Alexander Couzens , Nicolas Cavallari , Daniel Golle , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 2/6] wifi: mt76: fix typo in mt76_get_of_eeprom_from_nvmem function Date: Wed, 18 Oct 2023 15:09:38 +0200 Message-Id: <20231018130942.31187-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231018130942.31187-1-ansuelsmth@gmail.com> References: <20231018130942.31187-1-ansuelsmth@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 morse.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 (morse.vger.email [0.0.0.0]); Wed, 18 Oct 2023 06:11:22 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780098987142036987 X-GMAIL-MSGID: 1780098987142036987 Fix typo in mt76_get_of_eeprom_from_nvmem where eeprom was misspelled as epprom. Fixes: 5bef3a406c6e ("wifi: mt76: add support for providing eeprom in nvmem cells") Signed-off-by: Christian Marangi --- drivers/net/wireless/mediatek/mt76/eeprom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/eeprom.c b/drivers/net/wireless/mediatek/mt76/eeprom.c index 2558788f7ffb..1de3c734e136 100644 --- a/drivers/net/wireless/mediatek/mt76/eeprom.c +++ b/drivers/net/wireless/mediatek/mt76/eeprom.c @@ -106,7 +106,7 @@ static int mt76_get_of_epprom_from_mtd(struct mt76_dev *dev, void *eep, int offs #endif } -static int mt76_get_of_epprom_from_nvmem(struct mt76_dev *dev, void *eep, int len) +static int mt76_get_of_eeprom_from_nvmem(struct mt76_dev *dev, void *eep, int len) { struct device_node *np = dev->dev->of_node; struct nvmem_cell *cell; @@ -153,7 +153,7 @@ int mt76_get_of_eeprom(struct mt76_dev *dev, void *eep, int offset, int len) if (!ret) return 0; - return mt76_get_of_epprom_from_nvmem(dev, eep, len); + return mt76_get_of_eeprom_from_nvmem(dev, eep, len); } EXPORT_SYMBOL_GPL(mt76_get_of_eeprom);