[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c1bfbadf-0989-329b-308e-1a3c79ca2caa@kaod.org>
Date: Fri, 7 Oct 2022 22:29:59 +0200
From: Cédric Le Goater <clg@...d.org>
To: Chin-Ting Kuo <chin-ting_kuo@...eedtech.com>, <broonie@...nel.org>,
<joel@....id.au>, <andrew@...id.au>,
<linux-aspeed@...ts.ozlabs.org>, <openbmc@...ts.ozlabs.org>,
<linux-spi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<BMC-SW@...eedtech.com>, <steven_lee@...eedtech.com>
Subject: Re: [v2] spi: aspeed: Fix typo in mode_bits field for AST2600
platform
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@...eedtech.com>
Reviewed-by: Cédric Le Goater <clg@...d.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,
Powered by blists - more mailing lists