1
0
Fork 0
alistair23-linux/drivers/cdrom
Diego Elio Pettenò 7739bc1e0e cdrom: respect device capabilities during opening action
[ Upstream commit 366ba7c71e ]

Reading the TOC only works if the device can play audio, otherwise
these commands fail (and possibly bring the device to an unhealthy
state.)

Similarly, cdrom_mmc3_profile() should only be called if the device
supports generic packet commands.

To: Jens Axboe <axboe@kernel.dk>
Cc: linux-kernel@vger.kernel.org
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-04 19:18:25 +01:00
..
Makefile
cdrom.c cdrom: respect device capabilities during opening action 2020-01-04 19:18:25 +01:00
gdrom.c