broonie/tinyalsa — comment on commit 59c78af9f9fe6399d556fd45b20c3de7d2a687d0
File:  line 0
By broonie:

On Fri, Feb 10, 2012 at 04:24:21PM -0800, tinyalsa wrote:
> It looks like we could factor out this code from pcm_write() too. Interestingly, there's a missing piece of code in pcm_start() that might affect the way this code works. I think Liam should take a look since he authored that code (I'll let him know).

The two do slightly different things - write() does PREPARE then an
initial write while read does PREPARE then START. The difference is
because the write path is triggered by transmitting data but we need to
manually start the hardware giving us data.