Re: [PATCH 1/7] regulator: push allocation in regulator_init_coupling() outside of lock

From: Dmitry Osipenko
Date: Tue Aug 11 2020 - 11:59:57 EST

11.08.2020 04:07, Michał Mirosław пишет:
> Allocating memory with regulator_list_mutex held makes lockdep unhappy
> when memory pressure makes the system do fs_reclaim on eg. eMMC using
> a regulator. Push the lock inside regulator_init_coupling() after the
> allocation.

Reviewed-by: Dmitry Osipenko <digetx@xxxxxxxxx>