Re: [alsa-devel] [PATCH v2 1/2] ASoC: Add driver for CLPS711X DAI interface
On Thu, May 01, 2014 at 10:54:32PM +0400, Alexander Shiyan wrote:
Thu, 1 May 2014 11:29:35 -0700 от Mark Brown broonie@kernel.org:
This machinery seems pretty much identical to the FIQ code for i.MX - I know you don't think anything can be shared but can you please be more explicit about why? The contents of the FIQ are different but the start and stop mechanics don't look so different (and given that the general idea of what they do is very similar this isn't surprising to me).
That is, you really want to make some common code for this?
Well, I'd like to understand why we're not doing common code in more detail - it's pretty fiddly and detailed stuff to be cut'n'pasting. On the other hand if it looks horrible to do that then perhaps that's actually the best way to go. Either factor it out or give a bit more detail on why that's not the way forwards.
OK, I will review this again, but where do you think it should be located?
A file in sound/soc (soc-pcm-fiq.c or something) perhaps?
participants (1)
-
Mark Brown