Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'dmaengine-fix-4.2-rc8' of git://git.infradead.org/users/vkoul/slave-dma

Pull dmaengine fix from Vinod Koul:
"We recently found issue with dma_request_slave_channel() API causing
privatecnt value to go bad. This is fixed by balancing the privatecnt"

* tag 'dmaengine-fix-4.2-rc8' of git://git.infradead.org/users/vkoul/slave-dma:
dmaengine: fix balance of privatecnt inc/dec operations

+4
+4
drivers/dma/dmaengine.c
··· 689 689 struct dma_chan *ch = dma_request_slave_channel_reason(dev, name); 690 690 if (IS_ERR(ch)) 691 691 return NULL; 692 + 693 + dma_cap_set(DMA_PRIVATE, ch->device->cap_mask); 694 + ch->device->privatecnt++; 695 + 692 696 return ch; 693 697 } 694 698 EXPORT_SYMBOL_GPL(dma_request_slave_channel);