1 Aug
2023
1 Aug
'23
4:14 p.m.
On 8/1/2023 1:23 AM, Kuninori Morimoto wrote:
It is still using snd_soc_{un}register_dai() manually. Let's use devm_snd_soc_register_dai().
Signed-off-by: Kuninori Morimoto kuninori.morimoto.gx@renesas.com
There are two other related patches..., should this have been a patch series?
And while I like the series, after applying all three patches I get failures in module reload tests.
If I remember correctly the reason we did explicit flow of register_ and free_, instead of using devm_register_ is that the lifetime may be correlated to existence of other device and we need to unregister at correct moment. Maybe something to revisit, but I would prefer to keep tests green for now.