diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2014-01-13 09:17:04 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 21:50:15 (GMT) |
commit | b1d74b1836ecf6d1a4f19c7b2bd89b7c11ce101b (patch) | |
tree | 6873e5ab727fa95c50185e917bffe4f194d0441b /fs/nfs | |
parent | 24175707cb728921b5ad1cf1095d1600a07dda2e (diff) | |
download | linux-fsl-qoriq-b1d74b1836ecf6d1a4f19c7b2bd89b7c11ce101b.tar.xz |
spi/pxa2xx: initialize DMA channels to -1 to prevent inadvertent match
commit 483c319188c74e82b29a0ed7a7fa7065570f2193 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions