On Wed, Nov 07, 2018 at 12:03:06PM +0800, Tzung-Bi Shih wrote:
Please don't top post, reply in line with needed context. This allows readers to readily follow the flow of conversation and understand what you are talking about and also helps ensure that everything in the discussion is being addressed.
The second one is forcing to recalculate the graph at the bottom of snd_soc_instantiate_card() by additionally calling dapm_mark_endpoints_dirty(). It would waste some computing power by comparing with the first idea but it would be also simpler than the first one.
As we just discussed in person this is probably the best option - it's what we used to have (or were supposed to have, but I'm fairly sure I remember writing the code), I'm guessing it's gone AWOL during all the refactorings for componentization.