From: Pratyush Yadav
Date: Tue, 16 Mar 2021 18:53:49 +0530
Subject: [PATCH] dm: spi: Prevent setting a speed of 0 Hz in spi_post_probe
In-Reply-To: <00221cd6fb5b732c5f742ff332fd4e2da85f88d9.1615898035.git.michal.simek@xilinx.com>
References: <00221cd6fb5b732c5f742ff332fd4e2da85f88d9.1615898035.git.michal.simek@xilinx.com>
Message-ID: <20210316132347.2cpr6kkcqei5lu3d@ti.com>
List-Id:
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: u-boot@lists.denx.de
On 16/03/21 01:33PM, Michal Simek wrote:
> The commit 12bfb2e05fc2 ("dm: spi: prevent setting a speed of 0 Hz")
> changes default value from 0 to SPI_DEFAULT_SPEED_HZ but spi_post_probe()
> hasn't been updated in the same way. It should be also update to be aligned
> with previous patch.
>
> Fixes: 12bfb2e05fc2 ("dm: spi: prevent setting a speed of 0 Hz")
> Signed-off-by: Michal Simek
Reviewed-by: Pratyush Yadav
--
Regards,
Pratyush Yadav
Texas Instruments Inc.