[alsa-devel] [RFC 6/9] ASoC: hda: Add Code Loader DMA support

Mark Brown broonie at kernel.org
Mon Apr 27 16:17:17 CEST 2015


On Sun, Apr 26, 2015 at 07:58:22PM +0530, Vinod Koul wrote:
> On Fri, Apr 24, 2015 at 06:18:38PM +0100, Mark Brown wrote:

> > > +		goto cleanup;
> > > +	}

> > What if the buffer is just too big?  Looks like this would loop for
> > ever.

> DMA is started, so link_pos get updated and we keep reading it. Since its
> DMA a big buffer will get done fairly soon.

No, two separate questions there - what if the buffer is bigger than the
maximum size (it looked like there was one) and what about error
handling (if some clock gets stopped and we don't transfer data for
example)?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150427/4b58bab7/attachment.sig>


More information about the Alsa-devel mailing list