Re: [PATCH] crypto: omap-sham - Only release DMA channel if successfully requested

2013-12-05 Thread Herbert Xu
On Tue, Nov 12, 2013 at 01:12:27PM -0700, Mark A. Greer wrote: In omap_sham_probe() and omap_sham_remove(), 'dd-dma_lch' is released without checking to see if it was successfully requested or not. This is a bug and was identified and reported by Dan Carpenter here:

[PATCH] crypto: omap-sham - Only release DMA channel if successfully requested

2013-11-12 Thread Mark A. Greer
In omap_sham_probe() and omap_sham_remove(), 'dd-dma_lch' is released without checking to see if it was successfully requested or not. This is a bug and was identified and reported by Dan Carpenter here: http://www.spinics.net/lists/devicetree/msg11023.html Add code to only release