]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/ide-cd.c
ide: remove IDE_AFLAG_NO_DOORLOCKING
[linux-2.6-omap-h63xx.git] / drivers / ide / ide-cd.c
index 7dc1a17a4dd806d6feaeaa8ccca3507a137ddb16..2f4cc10391e5e9ebadf4990ed7b1aefaf6ff54a4 100644 (file)
@@ -1732,7 +1732,7 @@ static int ide_cdrom_probe_capabilities(ide_drive_t *drive)
                return 0;
 
        if ((buf[8 + 6] & 0x01) == 0)
-               drive->atapi_flags |= IDE_AFLAG_NO_DOORLOCK;
+               drive->dev_flags &= ~IDE_DFLAG_DOORLOCKING;
        if (buf[8 + 6] & 0x08)
                drive->atapi_flags &= ~IDE_AFLAG_NO_EJECT;
        if (buf[8 + 3] & 0x01)