|
@@ -1475,8 +1475,6 @@ static int pxa2xx_spi_probe(struct platform_device *pdev)
|
|
}
|
|
}
|
|
|
|
|
|
/* Setup DMA if requested */
|
|
/* Setup DMA if requested */
|
|
- drv_data->tx_channel = -1;
|
|
|
|
- drv_data->rx_channel = -1;
|
|
|
|
if (platform_info->enable_dma) {
|
|
if (platform_info->enable_dma) {
|
|
status = pxa2xx_spi_dma_setup(drv_data);
|
|
status = pxa2xx_spi_dma_setup(drv_data);
|
|
if (status) {
|
|
if (status) {
|