fsldma: do not clear bandwidth control bits on the 83xx controller
authorIra Snyder <iws@ovro.caltech.edu>
Thu, 28 May 2009 09:26:40 +0000 (09:26 +0000)
committerDan Williams <dan.j.williams@intel.com>
Tue, 16 Jun 2009 18:43:40 +0000 (11:43 -0700)
commit43a1a3ed6bf5a1b9ae197b4f5f20033baf19db61
treee14df96fd17ae32d4d3b77d881de7080947e7fb2
parentbe30b226f2ae618cd719e40267d9923db1db9001
fsldma: do not clear bandwidth control bits on the 83xx controller

The 83xx controller does not support the external pause feature. The bit
in the mode register that controls external pause on the 85xx controller
happens to be part of the bandwidth control settings for the 83xx
controller.

This patch fixes the driver so that it only clears the external pause bit
if the hardware is the 85xx controller. When driving the 83xx controller,
the bit is left untouched. This follows the existing convention that mode
registers settings are not touched unless necessary.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/fsldma.c