Commit 46112d55 authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Greg Kroah-Hartman

staging: wfx: increase SPI bus frequency limit

The chip has now proven that it can run at 50MHz on any boards without
any problem.
Signed-off-by: default avatarJérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-12-Jerome.Pouiller@silabs.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 983b3933
...@@ -183,7 +183,7 @@ static int wfx_spi_probe(struct spi_device *func) ...@@ -183,7 +183,7 @@ static int wfx_spi_probe(struct spi_device *func)
if (func->bits_per_word != 16 && func->bits_per_word != 8) if (func->bits_per_word != 16 && func->bits_per_word != 8)
dev_warn(&func->dev, "unusual bits/word value: %d\n", dev_warn(&func->dev, "unusual bits/word value: %d\n",
func->bits_per_word); func->bits_per_word);
if (func->max_speed_hz > 49000000) if (func->max_speed_hz > 50000000)
dev_warn(&func->dev, "%dHz is a very high speed\n", dev_warn(&func->dev, "%dHz is a very high speed\n",
func->max_speed_hz); func->max_speed_hz);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment