Re: [PATCH] spi/pxa2xx: initialize DMA channels to -1 to preventinadvertent match

From: Mark Brown
Date: Mon Jan 13 2014 - 07:40:33 EST


On Mon, Jan 13, 2014 at 11:17:04AM +0200, Mika Westerberg wrote:
> 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.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature