Files
linux/drivers
Hugo Villeneuve 5733959d67 serial: sc16is7xx: set safe default SPI clock frequency
[ Upstream commit 3ef79cd141 ]

15 MHz is supported only by 76x variants.

If the SPI clock frequency is not specified, use a safe default clock value
of 4 MHz that is supported by all variants.

Also use HZ_PER_MHZ macro to improve readability.

Fixes: 2c837a8a8f ("sc16is7xx: spi interface is added")
Cc:  <stable@vger.kernel.org>
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231221231823.2327894-4-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-23 08:12:39 +01:00
..
2023-09-23 10:48:09 +02:00
2023-11-08 11:22:21 +01:00
2023-11-20 10:29:18 +01:00
2024-01-25 14:33:30 -08:00
2022-08-25 11:15:43 +02:00
2023-08-11 11:45:11 +02:00