commit | 4bb82458ec76edc6d2a91fd3b2d2daae44561443 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Mar 16 10:53:57 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 26 23:02:48 2015 +0100 |
tree | d6a43899fe02a0b111b73951fa1954a0dc6391a6 | |
parent | 90b9aacf912af38a177114ca232051c61be8b93e [diff] |
dmaengine: hsu: remove redundant pieces of code There are few places where the implemented pieces of code are not needed, i.e.: - direction can't be wrong in hsu_dma_chan_start() - desc->active set to 0 by kzalloc - DMAEngine is NULL-aware when call ->device_alloc_chan_resources() Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>