]> git.karo-electronics.de Git - karo-tx-linux.git/commit
scsi: atari_scsi: Reset DMA during bus reset only under ST-DMA lock
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 15 Jan 2017 23:50:57 +0000 (18:50 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 1 Feb 2017 02:39:22 +0000 (21:39 -0500)
commit546a4d1812b647fddad58a4416c7a44c27bb0499
tree5af0c9c4319417fa63d4fbcb4a1cfaefa91d2374
parentb15e791d0c51e778353777b3dd2993ee0a83388e
scsi: atari_scsi: Reset DMA during bus reset only under ST-DMA lock

The atari_scsi driver should not access Falcon DMA chip registers unless
it has acquired exclusive access to that chip. If the driver doesn't
have exclusive access then there's no need for a DMA reset as there are
no scsi commands in progress.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/atari_scsi.c