[alsa-devel] [PATCH 01/12] ASoC: Intel: Skylake: Add helper function to setup host/link dma
Jeeja KP
jeeja.kp at intel.com
Mon Dec 5 18:09:31 CET 2016
On Mon, Dec 05, 2016 at 11:35:32AM +0000, Mark Brown wrote:
> On Fri, Dec 02, 2016 at 11:11:38PM +0530, jeeja.kp at intel.com wrote:
>
> > This patch adds helper function to configure the host/link DMA when the
> > DMA is in decoupled mode.
>
> This isn't just adding a helper function...
>
> > + link = snd_hdac_ext_bus_get_link(ebus, rtd->codec->component.name);
> > + if (!link)
> > + return -EINVAL;
> > +
>
> ...it's also doing some things that appear to use that helper function.
Helper function requires 2 parameter format and link_index. these parameters
are updated in hw_params and used by the helper function to configure the link
DMA. so added these as part of the skl_pipe_params structure and these are
updated in hw_params and used in the helper function.
--
More information about the Alsa-devel
mailing list