Files
linux-apfs/drivers/dma
Tomoya MORINAGA 0b052f4a08 pch_dma: Fix CTL register access issue
Currently, Mode-Control register is accessed by read-modify-write.

According to DMA hardware specifications datasheet, prohibits this method.
Because this register resets to 0 by DMA HW after DMA transfer completes.
Thus, current read-modify-write processing can cause unexpected behavior.

The datasheet says in case of writing Mode-Control register, set the value for only target channel, the others must set '11b'.
e.g. Set DMA0=01b  DMA11=10b
CTL0=33333331h
CTL2=00002333h

NOTE:
CTL0 includes DMA0~7 Mode-Control register.
CTL2 includes DMA8~11 Mode-Control register.

This patch modifies the issue.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2011-07-25 19:11:12 +05:30
..
2011-04-06 11:51:12 +05:30
2011-06-06 13:43:59 +05:30
2011-05-18 23:24:50 +02:00
2011-03-11 17:52:36 -08:00
2011-03-31 11:26:23 -03:00
2011-06-08 15:10:44 -06:00
2011-06-08 15:10:44 -06:00
2011-03-31 11:26:23 -03:00
2011-07-14 03:32:31 +05:30
2009-09-08 17:53:03 -07:00
2011-01-30 22:27:21 -08:00