Mika Westerberg 483c319188 spi/pxa2xx: initialize DMA channels to -1 to prevent inadvertent match
Commit cddb339badb0 (spi/pxa2xx: convert to dma_request_slave_channel_compat())
converted the driver to use ACPI provided DMA helpers but it forgot to
initialize the platform data for the channels to -1. Failing to do so will
result inadvertent match in the filter function because 0 is a valid
channel number.

Prevent this from happening by initializing both platform data channels
correctly to -1.

Fixes: cddb339badb0 (spi/pxa2xx: convert to dma_request_slave_channel_compat())
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
2014-01-13 12:39:19 +00:00
..
2011-06-06 01:16:30 -06:00
2013-11-14 11:04:38 -08:00
2011-09-21 09:41:48 -06:00
2013-08-29 13:56:23 +01:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2013-05-23 09:09:55 -05:00
2013-08-29 13:56:23 +01:00
2013-10-15 13:15:52 +01:00