Updated from Linux LTS 3.10.21 to 3.10.22
This commit is contained in:
@@ -264,8 +264,6 @@ static void dma_irq_callback(void *param)
|
||||
struct gpmi_nand_data *this = param;
|
||||
struct completion *dma_c = &this->dma_done;
|
||||
|
||||
complete(dma_c);
|
||||
|
||||
switch (this->dma_type) {
|
||||
case DMA_FOR_COMMAND:
|
||||
dma_unmap_sg(this->dev, &this->cmd_sgl, 1, DMA_TO_DEVICE);
|
||||
@@ -290,6 +288,8 @@ static void dma_irq_callback(void *param)
|
||||
default:
|
||||
pr_err("in wrong DMA operation.\n");
|
||||
}
|
||||
|
||||
complete(dma_c);
|
||||
}
|
||||
|
||||
int start_dma_without_bch_irq(struct gpmi_nand_data *this,
|
||||
|
||||
Reference in New Issue
Block a user