]> err.no Git - linux-2.6/blobdiff - drivers/ide/ide-acpi.c
aec62xx: Fix kernel oops in driver's probe function
[linux-2.6] / drivers / ide / ide-acpi.c
index 1d5f6823101c26c2e73980c6705878956e68be85..89df48fdc69d7b6109098153813524862fe4bff1 100644 (file)
@@ -350,7 +350,7 @@ static int taskfile_load_raw(ide_drive_t *drive,
 
        memset(&args, 0, sizeof(ide_task_t));
        args.command_type = IDE_DRIVE_TASK_NO_DATA;
-       args.data_phase   = TASKFILE_IN;
+       args.data_phase   = TASKFILE_NO_DATA;
        args.handler      = &task_no_data_intr;
 
        /* convert gtf to IDE Taskfile */