From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87C823164C3; Wed, 20 May 2026 16:51:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779295903; cv=none; b=cmQaqxtWWKAFybTZk+O7cwOQS4zpl6KmRGyGQkbR0xF1rugh8iGhbeks03lQM8bhxedbYeuSK06nKUnfjA0q8sZg7Dt7kNayyS5ZM8GU6iabBxHKa4PioQT6Bm8h+O/2xXCRcA7eOCMYhyLjblDpavPosve+kTl7i7Tg28u8GCg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779295903; c=relaxed/simple; bh=JqrtdF5Ml4NIFSF7qxVgK5yLRgLJ/BJyi85h6/L5x38=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TTMJpHYsGmKOuAuIzpLb10g3YWhZ03OI5m+trZSu0C11vF5I9fNHwaDPc5ehSmVLYcmT7XoWEidGp1EUFwaFvq8naTXCO1yQqU9fnXReWKSx4+3WuBOR1d6/6ewuj10YQRQGPlk4aDNHEoGDG6nuV/7La/+V3urfKvCmoggqr5o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HseNYLe9; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="HseNYLe9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDF5F1F000E9; Wed, 20 May 2026 16:51:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779295902; bh=IKtq96jK8Q8zRY05DNPvoKY+vpf9fTLwGLkyKNQaaiA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=HseNYLe9ETyr+tSf40P5eBDPeExgfnq42xu3s2nfBzEraax5XIJXSe+DW5nDH+Ro6 H085YRScD0JzcAfzwIGSnp3IvQdrDSSTVA6aQvKWPjDQIBgnNNtkBXw5cvlIpQH+Me CO1XycViD/vUAMdurmiZsGC5GJDKJT+B4i8fVB/0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jonas Gorski , Pratyush Yadav , Sasha Levin Subject: [PATCH 7.0 0595/1146] mtd: spi-nor: update spi_nor_fixups::post_sfdp() documentation Date: Wed, 20 May 2026 18:14:05 +0200 Message-ID: <20260520162201.642451729@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162148.390695140@linuxfoundation.org> References: <20260520162148.390695140@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jonas Gorski [ Upstream commit 3620d67b48493c6252bbc873dc88dde81641d56b ] After commit 5273cc6df984 ("mtd: spi-nor: core: Call spi_nor_post_sfdp_fixups() only when SFDP is defined") spi_nor_post_sfdp_fixups() isn't called anymore if no SFDP is detected. Update the documentation accordingly. Fixes: 5273cc6df984 ("mtd: spi-nor: core: Call spi_nor_post_sfdp_fixups() only when SFDP is defined") Signed-off-by: Jonas Gorski Reviewed-by: Pratyush Yadav Signed-off-by: Pratyush Yadav (Google) Signed-off-by: Sasha Levin --- drivers/mtd/spi-nor/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/core.h b/drivers/mtd/spi-nor/core.h index 16b382d4f04f2..e838c40a25897 100644 --- a/drivers/mtd/spi-nor/core.h +++ b/drivers/mtd/spi-nor/core.h @@ -413,7 +413,7 @@ struct spi_nor_flash_parameter { * number of dummy cycles in read register ops. * @smpt_map_id: called after map ID in SMPT table has been determined for the * case the map ID is wrong and needs to be fixed. - * @post_sfdp: called after SFDP has been parsed (is also called for SPI NORs + * @post_sfdp: called after SFDP has been parsed (is not called for SPI NORs * that do not support RDSFDP). Typically used to tweak various * parameters that could not be extracted by other means (i.e. * when information provided by the SFDP/flash_info tables are -- 2.53.0