summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2019-11-19 21:37:08 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-04 13:41:02 +0100
commit3f58a3f020b58da1d042149c8519c958f1736b68 (patch)
tree972a9743718fcc6d84c32247e3299ccf8d1eeedb /tools
parent9abb8f608800f015bb2f05dab238d8db17159628 (diff)
cdrom: respect device capabilities during opening action
[ Upstream commit 366ba7c71ef77c08d06b18ad61b26e2df7352338 ] 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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions