summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_falcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_falcon.c')
-rw-r--r--drivers/ata/pata_falcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_falcon.c b/drivers/ata/pata_falcon.c
index 78264082a4cf..5b0c57d1c59f 100644
--- a/drivers/ata/pata_falcon.c
+++ b/drivers/ata/pata_falcon.c
@@ -54,7 +54,7 @@ static unsigned int pata_falcon_data_xfer(struct ata_queued_cmd *qc,
bool swap = 1;
if (dev->class == ATA_DEV_ATA && cmd && cmd->request &&
- cmd->request->cmd_type == REQ_TYPE_FS)
+ !blk_rq_is_passthrough(cmd->request))
swap = 0;
/* Transfer multiple of 2 bytes */