diff options
| author | Roger Quadros <roger.quadros@nokia.com> | 2022-01-24 08:01:50 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-26 14:05:35 +0100 |
| commit | 89ada0fe669a7abf8777b793b874202a0767a24f (patch) | |
| tree | 9d796e6401c5ff097e4d5739223243830906a128 /tools/perf/scripts/python | |
| parent | usb: xhci-mtk: Use struct_size() helper in create_sch_ep() (diff) | |
| download | linux-89ada0fe669a7abf8777b793b874202a0767a24f.tar.gz linux-89ada0fe669a7abf8777b793b874202a0767a24f.zip | |
usb: gadget: f_mass_storage: Make CD-ROM emulation work with Mac OS-X
Mac OS-X expects CD-ROM TOC in raw format (i.e. format:2). It also
sends the READ_TOC CDB in old style SFF8020i format. i.e. 2 format bits
are encoded in MSBs of CDB byte 9.
This patch will enable CD-ROM emulation to work with Mac OS-X. Tested on
Mac OS X v10.6.3.
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Roger Quadros <roger.quadros@nokia.com>
Signed-off-by: Jack Pham <quic_jackp@quicinc.com>
Link: https://lore.kernel.org/r/20220124160150.19499-1-quic_jackp@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
