Re: [PATCH] ASoC: intel: use devm_snd_soc_register_dai()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
---

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.



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux