aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-07-05 15:02:43 +0200
committerMartin K. Petersen <[email protected]>2021-07-30 22:13:09 -0400
commitba51bdafaafc065019c6f6a2cdae006d176cee48 (patch)
treec46134baf01607cb8f6ea34b54428e476475d1dd /tools/perf/scripts/python/bin/flamegraph-record
parent08dc2f9b53afbbc897bc895aa41906194f5af1cf (diff)
scsi: sr: cdrom: Move cdrom_read_cdda_bpc() into the sr driver
cdrom_read_cdda_bpc() relies on sending SCSI command to the low level driver using a REQ_OP_SCSI_IN request. This isn't generic block layer functionality, so move the actual low-level code into the sr driver and call it through a new read_cdda_bpc method in the cdrom_device_ops structure. With this the CDROM code does not have to pull in scsi_normalize_sense() and depend on CONFIG_SCSI_COMMON. Link: https://lore.kernel.org/r/20210730072752.GB23847%40lst.de Tested-by: Anders Roxell <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions