diff options
author | 2014-01-13 11:17:04 +0200 | |
---|---|---|
committer | 2014-01-13 12:39:19 +0000 | |
commit | 483c319188c74e82b29a0ed7a7fa7065570f2193 (patch) | |
tree | 6654f08957d355235eff55a8c36afde2745e1e21 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.13-rc1 (diff) | |
download | linux-dev-483c319188c74e82b29a0ed7a7fa7065570f2193.tar.xz linux-dev-483c319188c74e82b29a0ed7a7fa7065570f2193.zip |
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions