On 13-06-20, 16:58, Marek Vasut wrote: > Various DMA users call the dmaengine_slave_config() and expect it to > succeed, but that can only succeed if .device_config is implemented. > Add empty device_config function rather than patching all the places > which use dmaengine_slave_config(). > > Signed-off-by: Marek Vasut <marex@xxxxxxx> > Cc: Akinobu Mita <akinobu.mita@xxxxxxxxx> > Cc: Kedareswara rao Appana <appana.durga.rao@xxxxxxxxxx> > Cc: Michal Simek <monstr@xxxxxxxxx> > Cc: Vinod Koul <vinod.koul@xxxxxxxxx> Umm, you should look up get_maintainers.pl to get right addresses :-) > --- > drivers/dma/xilinx/xilinx_dma.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c > index 5429497d3560b..058150ff9e0d9 100644 > --- a/drivers/dma/xilinx/xilinx_dma.c > +++ b/drivers/dma/xilinx/xilinx_dma.c > @@ -1637,6 +1637,17 @@ static void xilinx_dma_issue_pending(struct dma_chan *dchan) > spin_unlock_irqrestore(&chan->lock, flags); > } > > +/** > + * xilinx_dma_issue_pending - Configure the DMA channel > + * @dchan: DMA channel > + * @config: channel configuration > + */ > +static int xilinx_dma_device_config(struct dma_chan *dchan, > + struct dma_slave_config *config) > +{ > + return 0; > +} NAK, the driver supports slave ops so it does not make sense for this to be dummy, right fix would be to use these params for configuring dma correctly -- ~Vinod