]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] u14-34f: fix data direction bug
authorRoel Kluin <12o3l@tiscali.nl>
Wed, 6 Feb 2008 18:21:07 +0000 (19:21 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 8 Feb 2008 00:02:44 +0000 (18:02 -0600)
commitb33573d0365b4a24c6f2d9bab84d1cf2c1a3eca1
tree34920346490ad1eb4c0c1bf38e534e0079c9b51b
parent2f64d74c45911c2f4437ca43693aecacdc101378
[SCSI] u14-34f: fix data direction bug

Direction of data transfer 'DMA_FROM_DEVICE' was tested twice. DTD_OUT
means  transfer from host to device. This should occur when the
direction of data transfer (sc_data_direction) is 'DMA_TO_DEVICE'.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/u14-34f.c