aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-io.c')
-rw-r--r--drivers/ide/ide-io.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index 45fc18ff73cb..38076169b893 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -310,13 +310,10 @@ EXPORT_SYMBOL_GPL(ide_init_sg_cmd);
310static ide_startstop_t execute_drive_cmd (ide_drive_t *drive, 310static ide_startstop_t execute_drive_cmd (ide_drive_t *drive,
311 struct request *rq) 311 struct request *rq)
312{ 312{
313 ide_hwif_t *hwif = drive->hwif;
314 ide_task_t *task = rq->special; 313 ide_task_t *task = rq->special;
315 314
316 if (task) { 315 if (task) {
317 hwif->data_phase = task->data_phase; 316 switch (task->data_phase) {
318
319 switch (hwif->data_phase) {
320 case TASKFILE_MULTI_OUT: 317 case TASKFILE_MULTI_OUT:
321 case TASKFILE_OUT: 318 case TASKFILE_OUT:
322 case TASKFILE_MULTI_IN: 319 case TASKFILE_MULTI_IN: