History

spi: Fix the error description in the `ptp_sts_word_post` comment

Based on the comment information, the description within the `ptp_sts_word_post` section should be changed to "See @ptp_sts_word_pre".

Dewei Meng committed 6 months ago

Commit 922f8c21 parent ce76a361 file · +1 −1Browse files

Unified · Split

include/linux/spi/spi.h+1−1
@@ -1019,7 +1019,7 @@ struct spi_res { · 1018 unmodified lines
1019 * this value may have changed compared to what was requested, depending1019 * this value may have changed compared to what was requested, depending
1020 * on the available snapshotting resolution (DMA transfer,1020 * on the available snapshotting resolution (DMA transfer,
1021 * @ptp_sts_supported is false, etc).1021 * @ptp_sts_supported is false, etc).
1022 * @ptp_sts_word_post: See @ptp_sts_word_post. The two can be equal (meaning1022 * @ptp_sts_word_post: See @ptp_sts_word_pre. The two can be equal (meaning
1023 * that a single byte should be snapshotted).1023 * that a single byte should be snapshotted).
1024 * If the core takes care of the timestamp (if @ptp_sts_supported is false1024 * If the core takes care of the timestamp (if @ptp_sts_supported is false
1025 * for this controller), it will set @ptp_sts_word_pre to 0, and1025 * for this controller), it will set @ptp_sts_word_pre to 0, and