Re: [PATCH v2 2/6] regmap: Use flexible sleep
From: Dmitry Osipenko <digetx@gmail.com>
Date: 2020-09-02 12:56:47
Also in:
linux-amlogic, linux-leds, linux-pm, linux-tegra, lkml
From: Dmitry Osipenko <digetx@gmail.com>
Date: 2020-09-02 12:56:47
Also in:
linux-amlogic, linux-leds, linux-pm, linux-tegra, lkml
02.09.2020 15:47, Marek Szyprowski пишет:
Hi Dmitry, On 30.08.2020 20:53, Dmitry Osipenko wrote:quoted
The multi-reg write function uses udelay(), which is a busy-loop based delaying function that is not suitable for a long delays. Hence let's replace the udelay() with fsleep(), which is flexible sleep function that selects best delay function based on the delay-time. Signed-off-by: Dmitry Osipenko <digetx@gmail.com>This patch landed in today's linux-next (20200902) as commit 2b32d2f7ce0a. Sadly it breaks booting of ARM 64bit Amlogic S922X based Odroid N2 board. Here is the log:
Hello, Marek! Thank you for the feedback! I missed that remap supports different types of locking, I'll make a another patch to fix this problem.