From: Cédric Le Goater <clg@kaod.org>
To: linux-aspeed@lists.ozlabs.org
Subject: [v2] spi: aspeed: Fix typo in mode_bits field for AST2600 platform
Date: Fri, 7 Oct 2022 22:29:59 +0200 [thread overview]
Message-ID: <c1bfbadf-0989-329b-308e-1a3c79ca2caa@kaod.org> (raw)
In-Reply-To: <20221005083209.222272-1-chin-ting_kuo@aspeedtech.com>
On 10/5/22 10:32, Chin-Ting Kuo wrote:
> Both quad SPI TX and RX modes can be supported on AST2600.
> Correct typo in mode_bits field in both ast2600_fmc_data
> and ast2600_spi_data structs.
>
> Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Reviewed-by: C?dric Le Goater <clg@kaod.org>
Thanks,
C.
> ---
> drivers/spi/spi-aspeed-smc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/spi/spi-aspeed-smc.c b/drivers/spi/spi-aspeed-smc.c
> index a334e89add86..33cefcf18392 100644
> --- a/drivers/spi/spi-aspeed-smc.c
> +++ b/drivers/spi/spi-aspeed-smc.c
> @@ -1163,7 +1163,7 @@ static const struct aspeed_spi_data ast2500_spi_data = {
> static const struct aspeed_spi_data ast2600_fmc_data = {
> .max_cs = 3,
> .hastype = false,
> - .mode_bits = SPI_RX_QUAD | SPI_RX_QUAD,
> + .mode_bits = SPI_RX_QUAD | SPI_TX_QUAD,
> .we0 = 16,
> .ctl0 = CE0_CTRL_REG,
> .timing = CE0_TIMING_COMPENSATION_REG,
> @@ -1178,7 +1178,7 @@ static const struct aspeed_spi_data ast2600_fmc_data = {
> static const struct aspeed_spi_data ast2600_spi_data = {
> .max_cs = 2,
> .hastype = false,
> - .mode_bits = SPI_RX_QUAD | SPI_RX_QUAD,
> + .mode_bits = SPI_RX_QUAD | SPI_TX_QUAD,
> .we0 = 16,
> .ctl0 = CE0_CTRL_REG,
> .timing = CE0_TIMING_COMPENSATION_REG,
next prev parent reply other threads:[~2022-10-07 20:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-05 8:32 [v2] spi: aspeed: Fix typo in mode_bits field for AST2600 platform Chin-Ting Kuo
2022-10-07 20:29 ` Cédric Le Goater [this message]
2022-10-10 14:12 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c1bfbadf-0989-329b-308e-1a3c79ca2caa@kaod.org \
--to=clg@kaod.org \
--cc=linux-aspeed@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox