Skip to content

Commit 60980cf

Browse files
charleskeepaxbroonie
authored andcommitted
spi: cs42l43: Drop cs35l56 SPI speed down to 11MHz
Some internals of the cs35l56 can only support SPI speeds of up to 11MHz. Whilst some use-cases could support higher rates, keep things simple by dropping the SPI speed down to this avoid any potential issues. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20240607103423.4159834-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 4eecb64 commit 60980cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/spi/spi-cs42l43.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ static const struct software_node ampr = {
5454

5555
static struct spi_board_info ampl_info = {
5656
.modalias = "cs35l56",
57-
.max_speed_hz = 20 * HZ_PER_MHZ,
57+
.max_speed_hz = 11 * HZ_PER_MHZ,
5858
.chip_select = 0,
5959
.mode = SPI_MODE_0,
6060
.swnode = &ampl,
6161
};
6262

6363
static struct spi_board_info ampr_info = {
6464
.modalias = "cs35l56",
65-
.max_speed_hz = 20 * HZ_PER_MHZ,
65+
.max_speed_hz = 11 * HZ_PER_MHZ,
6666
.chip_select = 1,
6767
.mode = SPI_MODE_0,
6868
.swnode = &ampr,

0 commit comments

Comments
 (0)