]> www.infradead.org Git - nvme.git/commit
spi: cs42l43: Correct SPI root clock speed
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 4 Jun 2024 13:17:04 +0000 (14:17 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 4 Jun 2024 17:49:30 +0000 (18:49 +0100)
commit4eecb644b8b82f5279a348f6ebe77e3d6e5b1b05
tree0bdfba5c073f27ea9de3175983743f4ea9158ac2
parentc3f38fa61af77b49866b006939479069cd451173
spi: cs42l43: Correct SPI root clock speed

The root clock is actually 49.152MHz not 40MHz, as it is derived from
the primary audio clock, update the driver to match. This error can
cause the actual clock rate to be higher than the requested clock rate
on the SPI bus.

Fixes: ef75e767167a ("spi: cs42l43: Add SPI controller support")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://msgid.link/r/20240604131704.3227500-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cs42l43.c