From: Dmitry Osipenko <digetx@gmail.com>
To: Marek Szyprowski <m.szyprowski@samsung.com>,
Mark Brown <broonie@kernel.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] regmap: Add can_sleep configuration option
Date: Wed, 2 Sep 2020 18:04:07 +0300 [thread overview]
Message-ID: <81c91dbe-312e-5394-da1d-a6965e8fcb56@gmail.com> (raw)
In-Reply-To: <8dfcf671-d76a-4833-3fe9-2d0505d1b0d3@samsung.com>
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!
next prev parent reply other threads:[~2020-09-02 15:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20200902142057eucas1p245e94459d5adcd9cc4c38617da1abfc8@eucas1p2.samsung.com>
2020-09-02 14:18 ` [PATCH v1] regmap: Add can_sleep configuration option Dmitry Osipenko
2020-09-02 14:53 ` Marek Szyprowski
2020-09-02 15:04 ` Dmitry Osipenko [this message]
2020-09-02 18:54 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81c91dbe-312e-5394-da1d-a6965e8fcb56@gmail.com \
--to=digetx@gmail.com \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox