Messages in this thread | | | Subject | Re: [PATCH v1] regmap: Add can_sleep configuration option | From | Dmitry Osipenko <> | Date | Wed, 2 Sep 2020 18:04:07 +0300 |
| |
02.09.2020 17:53, Marek Szyprowski пишет: > Hi Dmitry, > > On 02.09.2020 16:18, Dmitry Osipenko wrote: >> Regmap can't sleep if spinlock is used for the locking protection. >> This patch fixes regression caused by a previous commit that switched >> regmap to use fsleep() and this broke Amlogic S922X platform. >> >> This patch adds new configuration option for regmap users, allowing to >> specify whether regmap operations can sleep and assuming that sleep is >> allowed if mutex is used for the regmap locking protection. >> >> Reported-by: Marek Szyprowski <m.szyprowski@samsung.com> >> Fixes: 2b32d2f7ce0a ("regmap: Use flexible sleep") >> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> > > This fixes the issue I've reported. Thanks! > > Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Awesome! Thank you!
| |