[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1693416477.git.mirq-linux@rere.qmqm.pl>
Date: Wed, 30 Aug 2023 19:35:30 +0200
From: Michał Mirosław <mirq-linux@...e.qmqm.pl>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>
Cc: Douglas Anderson <dianders@...omium.org>,
linux-kernel@...r.kernel.org, Stephen Boyd <swboyd@...omium.org>
Subject: [PATCH v2 0/7] regulator: core: locking cleanups, part 1/inf
This series aims to reduce regulator locking code complexity. There is
a consmetic fix (patch #6) included (applies to unexpected/unlikely
errors only). v2 adds a regulator_lock_contended() function to make the
ww_mutex locking sequence easier to understand.
Michał Mirosław (7):
regulator/core: regulator_lock_nested: remove `lock`
regulator/core: regulator_lock_nested: skip extra lock for -EDEADLK
regulator/core: regulator_lock_nested: simplify nested locking
regulator/core: regulator_resolve_supply: remove gotos
regulator/core: regulator_lock_contended: wrap ww_mutex lock sequence
restart
regulator/core: regulator_lock_two: propagate error up
regulator/core: regulator_lock_two: remove duplicate locking code
drivers/regulator/core.c | 133 +++++++++++++++++----------------------
1 file changed, 59 insertions(+), 74 deletions(-)
--
2.39.2
Powered by blists - more mailing lists