On Fri, 03 Sep 2010 11:00:57 +0100 Liam Girdwood lrg@slimlogic.co.uk wrote:
I think I'd like a firm idea of how the cross device DAPM works before we do anything with the prefixes since there's some overlap there (if only due to the fact that half the controls come from DAPM), even if the cross device DAPM doesn't actually work yet. I think your current code is probably going to work well with DAPM but I need to have a bit of a think about that over the weekend.
Ok, sounds good. Doing DAPM first avoids that there is no then need to go back and forth with prefixing.
I've made some initial progress here with DAPM by de-coupling it from CODEC drivers. So I now have a struct dapm_context * in the codec, platform and machine drivers. I just now need to get some time to experiment with the best way to hook them all up.
It's currently in my L24.9 branch, although the patches are in need of clean up and squashing so are not ready for upstream yet.
Thanks for info. Have to give a try to it :-)