On Mo, 2024-09-02 at 17:52 +0800, Yuesong Li wrote:
On 2024/8/30 11:33, Yuesong Li wrote:
When a driver wants to get reset control and deassert it,this
helper will handle the return value of these function, also it
will register a devres so that when the device been detached, the
reset control will be assert.
Signed-off-by: Yuesong Li <liyuesong@xxxxxxxx>
Could you have a look at the pre-deasserted / auto-reasserting reset
control series [1] and see if that would fit your use case?
[1] https://lore.kernel.org/all/20240621-reset-get-deasserted-v1-0-94ee76fb7b7d@xxxxxxxxxxxxxx/
regards
Philipp