Files
linux/drivers
Andy Shevchenko 59ebd41e41 dmaengine: dw: properly read DWC_PARAMS register
commit 6bea0f6d1c upstream.

In case we have less than maximum allowed channels (8) and autoconfiguration is
enabled the DWC_PARAMS read is wrong because it uses different arithmetic to
what is needed for channel priority setup.

Re-do the caclulations properly. This now works on AVR32 board well.

Fixes: fed2574b3c (dw_dmac: introduce software emulation of LLP transfers)
Cc: yitian.bu@tangramtek.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-22 14:39:17 -07:00
..
2014-07-31 12:52:56 -07:00
2015-09-21 10:02:17 -07:00
2014-08-07 14:52:37 -07:00
2014-01-15 14:51:22 -08:00
2015-09-21 10:02:14 -07:00
2013-12-20 08:49:17 -08:00