Re: [LAD] Writing a driver for a device which clears the buffer on the start trigger

2019-08-05 Thread Adrian Knoth
On Wed, Jul 31, 2019 at 09:34:45PM +0200, Paul Pawlowski wrote: > Hello, Hi! > I have got the driver working to some extent by moving the Start IO command > code to the open() callback instead of the trigger(SNDRV_PCM_TRIGGER_START) > however that's obviously a hack and causes issues (the first

[LAD] Writing a driver for a device which clears the buffer on the start trigger

2019-07-31 Thread Paul Pawlowski
Hello, I'm writing a driver for a device which clears the BAR DMA buffer if I send the Start IO command to it. I'm not sure how to workaround this issue. I have got the driver working to some extent by moving the Start IO command code to the open() callback instead of the