From: Márton Németh Date: Thu, 23 Oct 2008 21:22:09 +0000 (+0200) Subject: ide-cd: add TEAC CD-224E to the NO_AUTOCLOSE list X-Git-Tag: v2.6.28-rc1~5^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=64c2eae225137a8f5a88b6a416fc182d36e8ae9f;p=linux-2.6-omap-h63xx.git ide-cd: add TEAC CD-224E to the NO_AUTOCLOSE list The "TEAC CD-ROM CD-224E" cannot close its tray, so add it to the NO_AUTOCLOSE list. This will correct the "Can close tray" field of /proc/sys/dev/cdrom/info. Signed-off-by: Márton Németh Acked-by: Borislav Petkov [bart: minor fixups to patch description] Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 133afd09843..48b5eda3ab4 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c @@ -1966,6 +1966,7 @@ static const struct cd_list_entry ide_cd_quirks_list[] = { { "Optiarc DVD RW AD-5200A", NULL, IDE_AFLAG_PLAY_AUDIO_OK }, { "Optiarc DVD RW AD-7200A", NULL, IDE_AFLAG_PLAY_AUDIO_OK }, { "Optiarc DVD RW AD-7543A", NULL, IDE_AFLAG_NO_AUTOCLOSE }, + { "TEAC CD-ROM CD-224E", NULL, IDE_AFLAG_NO_AUTOCLOSE }, { NULL, NULL, 0 } };