]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: s3c64xx: determine the fifo depth only once
authorTudor Ambarus <tudor.ambarus@linaro.org>
Fri, 16 Feb 2024 07:05:47 +0000 (07:05 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:36:00 +0000 (16:36 +0200)
commit5448a99c809654be994e4c8ee5665341449ab790
treea95e4a4e6fb4dbb9e8d29a3fe6f8ea1dea2d092f
parentf8a6edd44903a1eb7ca9a1a35feaee3219b932d1
spi: s3c64xx: determine the fifo depth only once

[ Upstream commit c6e776ab6abdfce5a1edcde7a22c639e76499939 ]

Determine the FIFO depth only once, at probe time.
``sdd->fifo_depth`` can be set later on with the FIFO depth
specified in the device tree.

Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://msgid.link/r/20240216070555.2483977-5-tudor.ambarus@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Stable-dep-of: a3d3eab627bb ("spi: s3c64xx: Use DMA mode from fifo size")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-s3c64xx.c