Re: [PATCH] dmaengine: axi-dmac: simple device_config operation implemented

2019-10-16 Thread Ardelean, Alexandru
On Wed, 2019-10-16 at 10:38 +0530, Vinod Koul wrote: > [External] > > On 15-10-19, 23:06, Lars-Peter Clausen wrote: > > > > > This DMA controller is a bit special. > > > > It gets synthesized in FPGA, so the configuration is fixed and > > > > cannot be > > > > changed at runtime. Maybe later we

Re: [PATCH] dmaengine: axi-dmac: simple device_config operation implemented

2019-10-15 Thread Vinod Koul
On 15-10-19, 23:06, Lars-Peter Clausen wrote: > >> This DMA controller is a bit special. > >> It gets synthesized in FPGA, so the configuration is fixed and cannot be > >> changed at runtime. Maybe later we would allow/implement this > >> functionality, but this is a question for my HDL

Re: [PATCH] dmaengine: axi-dmac: simple device_config operation implemented

2019-10-15 Thread Lars-Peter Clausen
On 10/15/19 12:43 PM, Vinod Koul wrote: > On 15-10-19, 07:05, Ardelean, Alexandru wrote: >> On Mon, 2019-10-14 at 12:31 +0530, Vinod Koul wrote: >>> [External] >>> >> >> Hey, >> >>> On 13-09-19, 17:54, Alexandru Ardelean wrote: From: Rodrigo Alencar dmaengine_slave_config is called

Re: [PATCH] dmaengine: axi-dmac: simple device_config operation implemented

2019-10-15 Thread Vinod Koul
On 15-10-19, 07:05, Ardelean, Alexandru wrote: > On Mon, 2019-10-14 at 12:31 +0530, Vinod Koul wrote: > > [External] > > > > Hey, > > > On 13-09-19, 17:54, Alexandru Ardelean wrote: > > > From: Rodrigo Alencar > > > > > > dmaengine_slave_config is called by dmaengine_pcm_hw_params when using

Re: [PATCH] dmaengine: axi-dmac: simple device_config operation implemented

2019-10-15 Thread Ardelean, Alexandru
On Mon, 2019-10-14 at 12:31 +0530, Vinod Koul wrote: > [External] > Hey, > On 13-09-19, 17:54, Alexandru Ardelean wrote: > > From: Rodrigo Alencar > > > > dmaengine_slave_config is called by dmaengine_pcm_hw_params when using > > axi-i2s with axi-dmac. If device_config is NULL, -ENOSYS is

Re: [PATCH] dmaengine: axi-dmac: simple device_config operation implemented

2019-10-14 Thread Vinod Koul
On 13-09-19, 17:54, Alexandru Ardelean wrote: > From: Rodrigo Alencar > > dmaengine_slave_config is called by dmaengine_pcm_hw_params when using > axi-i2s with axi-dmac. If device_config is NULL, -ENOSYS is returned, > which breaks the snd_pcm_hw_params function. > This is a fix for the error:

[PATCH] dmaengine: axi-dmac: simple device_config operation implemented

2019-09-13 Thread Alexandru Ardelean
From: Rodrigo Alencar dmaengine_slave_config is called by dmaengine_pcm_hw_params when using axi-i2s with axi-dmac. If device_config is NULL, -ENOSYS is returned, which breaks the snd_pcm_hw_params function. This is a fix for the error: $ aplay -D plughw:ADAU1761