dw_dmac: absence of pdata isn't critical when autocfg is set
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 9 Jan 2013 08:17:01 +0000 (10:17 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 9 Jan 2013 14:30:34 +0000 (06:30 -0800)
commit123de543414bce42da9729071962d4a9512612c8
treec29ba393677ad8255b41b47e11f2d1c8650f0d7d
parentf2ad6992546674e5915a34a1bc36dcdd8fb29bd2
dw_dmac: absence of pdata isn't critical when autocfg is set

The patch allows to probe the device when platform data is absent and hardware
auto configuration is enabled. In that case the default platform data is used
where the channel allocation order is set to ascending, channel priority is set
to ascending, and private property is set to true.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw_dmac.c