From: Tejun Heo Date: Tue, 5 Aug 2008 16:17:02 +0000 (+0200) Subject: cdrom: don't check CDC_PLAY_AUDIO in cdrom_count_tracks() X-Git-Tag: v2.6.27-rc2~37^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af744e3294d09d706c4eae26cffaaa68a8d40337;p=pandora-kernel.git cdrom: don't check CDC_PLAY_AUDIO in cdrom_count_tracks() According to MMC-3 (or any later versions) READ TOCs are mandatory commands and have nothing to do with CDC_PLAY_AUDIO. I have no idea why the check was put there in the first place but it now only breaks automatic actions on certain drives. Note that this test was only effective when ide-cdrom was being used as sr didn't mask CDC_PLAY_AUDIO according to the capabilities. Signed-off-by: Tejun Heo Acked-by: Jens Axboe Cc: Borislav Petkov Signed-off-by: Andrew Morton Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed