commit | a041e672cb57201d152bfc314e52d41e7643375d | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu May 07 14:54:49 2020 +0300 |
committer | Mark Brown <broonie@kernel.org> | Thu May 07 13:43:00 2020 +0100 |
tree | 7d1bf6b1c1c1415442ff3fd6cdaf43267e4c28e9 | |
parent | 140e45e1e62dd56ed4c264db1443a5d4f5f40352 [diff] |
spi: dw: Get rid of dma_inited flag This flag is superfluous in all cases where it's being used, i.e. * ->can_dma() won't be called without dma_inited == 1 * DMA ->exit() callback can rely on txchan and rxchan variables So, get rid of dma_inited flag. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200507115449.8093-2-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>