summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-cs42l43.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-06-20 21:09:48 +0100
committerMark Brown <broonie@kernel.org>2024-06-20 21:09:48 +0100
commit741b31df024c397edbc499525fa2de1514b1a627 (patch)
treed2c41f51d1c17cf116bc6f575cdb57f12621f9c3 /drivers/spi/spi-cs42l43.c
parent78b05172b42d14a4c6fc6b75b31590b8977900dc (diff)
parentdf75470b317b46affbe1f5f8f006b34175be9789 (diff)
spi: Merge up fixes
We need the fixes to apply new changes to the Cirrus drivers.
Diffstat (limited to 'drivers/spi/spi-cs42l43.c')
-rw-r--r--drivers/spi/spi-cs42l43.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-cs42l43.c b/drivers/spi/spi-cs42l43.c
index 0993ee20f0359..0a4475ae931bc 100644
--- a/drivers/spi/spi-cs42l43.c
+++ b/drivers/spi/spi-cs42l43.c
@@ -26,7 +26,7 @@
#include <linux/units.h>
#define CS42L43_FIFO_SIZE 16
-#define CS42L43_SPI_ROOT_HZ (40 * HZ_PER_MHZ)
+#define CS42L43_SPI_ROOT_HZ 49152000
#define CS42L43_SPI_MAX_LENGTH 65532
enum cs42l43_spi_cmd {
@@ -54,7 +54,7 @@ static const struct software_node ampr = {
static struct spi_board_info ampl_info = {
.modalias = "cs35l56",
- .max_speed_hz = 20 * HZ_PER_MHZ,
+ .max_speed_hz = 11 * HZ_PER_MHZ,
.chip_select = 0,
.mode = SPI_MODE_0,
.swnode = &ampl,
@@ -62,7 +62,7 @@ static struct spi_board_info ampl_info = {
static struct spi_board_info ampr_info = {
.modalias = "cs35l56",
- .max_speed_hz = 20 * HZ_PER_MHZ,
+ .max_speed_hz = 11 * HZ_PER_MHZ,
.chip_select = 1,
.mode = SPI_MODE_0,
.swnode = &ampr,