spi: Replace custom fsleep() implementation
PATCH 1/1 spi: Replace custom fsleep() implementation
_spi_transfer_delay_ns() partially reimplements what fsleep() does. Replace that code by calling fsleep() instead.
--- drivers/spi/spi.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/spi/spi.c +1 -4
@@ -1495,10 +1495,7 @@ static void _spi_transfer_delay_ns(u32 ns) }else {u32 us =DIV_ROUND_UP (ns,NSEC_PER_USEC ); -if (us <=10 ) -udelay (us); -else -usleep_range (us, us +DIV_ROUND_UP (us,10 )); +fsleep (us); } }
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
Mark Brown
maintainerQuoted 4 lines · Andy Shevchenko
_spi_transfer_delay_ns()partially reimplements whatfsleep()does. Replace that code by callingfsleep()instead.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: Replace custom fsleep() implementation
commit: 215705db51eb23052c73126d2efb6acbc2db0424
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark