Skip to content

Commit

Permalink
powerpc/5200: in lpbfifo, flag DMA irqs as enabled after requesting them
Browse files Browse the repository at this point in the history
This patch avoids unbalanced enable/disable messages for the DMA
interrupts when running the 5200 platform SCLPC/BestComm driver in DMA
mode.

Signed-off-by: Roman Fietze <roman.fietze@telemotive.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Roman Fietze authored and Grant Likely committed Mar 27, 2010
1 parent 95d2c8e commit ed01f64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,8 @@ mpc52xx_lpbfifo_probe(struct of_device *op, const struct of_device_id *match)
if (rc)
goto err_bcom_rx_irq;

lpbfifo.dma_irqs_enabled = 1;

/* Request the Bestcomm transmit (memory --> fifo) task and IRQ */
lpbfifo.bcom_tx_task =
bcom_gen_bd_tx_init(2, res.start + LPBFIFO_REG_FIFO_DATA,
Expand Down

0 comments on commit ed01f64

Please sign in to comment.