summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sr_vendor.c
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2019-11-19 22:37:08 +0100
committerJens Axboe <axboe@kernel.dk>2019-11-26 21:02:24 +0100
commit366ba7c71ef77c08d06b18ad61b26e2df7352338 (patch)
tree43e285b3a52cd79b02a48a0c4cbea16c8427fe84 /drivers/scsi/sr_vendor.c
parentMerge tag 'for-linus-5.5-1' of git://github.com/cminyard/linux-ipmi (diff)
downloadlinux-366ba7c71ef77c08d06b18ad61b26e2df7352338.tar.xz
linux-366ba7c71ef77c08d06b18ad61b26e2df7352338.zip
cdrom: respect device capabilities during opening action
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>
Diffstat (limited to 'drivers/scsi/sr_vendor.c')
0 files changed, 0 insertions, 0 deletions