]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
spi: Fix the error description in the `ptp_sts_word_post` comment
authorDewei Meng <mengdewei@cqsoftware.com.cn>
Tue, 21 Apr 2026 02:58:08 +0000 (10:58 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 21 Apr 2026 15:02:45 +0000 (16:02 +0100)
Based on the comment information, the description within the
`ptp_sts_word_post` section should be changed to "See @ptp_sts_word_pre".

Signed-off-by: Dewei Meng <mengdewei@cqsoftware.com.cn>
Link: https://patch.msgid.link/20260421025808.6572-1-mengdewei@cqsoftware.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/spi/spi.h

index 7587b1c5d7ecb3eb2efa55f8cc453b4fd4f60cd9..82682dd9961daae658d02c125ce191e862be8aab 100644 (file)
@@ -1019,7 +1019,7 @@ struct spi_res {
  *     this value may have changed compared to what was requested, depending
  *     on the available snapshotting resolution (DMA transfer,
  *     @ptp_sts_supported is false, etc).
- * @ptp_sts_word_post: See @ptp_sts_word_post. The two can be equal (meaning
+ * @ptp_sts_word_post: See @ptp_sts_word_pre. The two can be equal (meaning
  *     that a single byte should be snapshotted).
  *     If the core takes care of the timestamp (if @ptp_sts_supported is false
  *     for this controller), it will set @ptp_sts_word_pre to 0, and