commit | d462e32259810aaaf13440b033b99e1aad33eccd | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed May 18 13:39:05 2016 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu May 19 18:03:00 2016 +0800 |
tree | d716d7535e55f9ffa3a680dcc48901d3b31d46f3 | |
parent | 4a6b27b79da5ccc6b85dc05bbe6a091e58be896a [diff] |
crypto: omap-sham - potential Oops on error in probe This if statement is reversed so we end up either leaking or Oopsing on error. Fixes: dbe246209bc1 ('crypto: omap-sham - Use dma_request_chan() for requesting DMA channel') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>