]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: hsu: don't check direction of timeouted channel
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 18 Mar 2016 12:26:35 +0000 (14:26 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 4 Apr 2016 16:42:00 +0000 (09:42 -0700)
commitc36a0176ba678fd1a4bf985fd62f43dd4f4d4a03
tree0436bc008ddbc9272859b7e3416e9289ed50d16a
parent2d4d689f3ec56ad1eca6c899f418aeb6c0cf43ca
dmaengine: hsu: don't check direction of timeouted channel

The timeout capability is only available on the so called DMA write channels,
i.e. associated with UART Rx FIFO. It means we don't need to check the
direction of the channel to handle timeouts.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/hsu/hsu.c