diff options
| author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2019-11-19 21:37:08 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-04 19:13:12 +0100 |
| commit | d84fd0cb90186788ecf3aa04bcc5a212da5d80e2 (patch) | |
| tree | 11a184728ceb42391d09a22cf05f7a8e27a2027b /tools/perf/builtin-script.c | |
| parent | 593a5505517c7ef6d1d476841053c102dc2f98ba (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/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
