Commit 1d0c3697 authored by Neal Liu's avatar Neal Liu Committed by Lee Jones
Browse files

UPSTREAM: usb: gadget: f_mass_storage: Make CD-ROM emulation works with Windows OS



Add read TOC with format 1 to support CD-ROM emulation with
Windows OS.
This patch is tested on Windows OS Server 2019.

Bug: 254441685
Fixes: 89ada0fe ("usb: gadget: f_mass_storage: Make CD-ROM emulation work with Mac OS-X")
Reviewed-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarNeal Liu <neal_liu@aspeedtech.com>
Link: https://lore.kernel.org/r/20220628021436.3252262-1-neal_liu@aspeedtech.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 3b91edd6)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: Ieaaa97c4bae5c04104b715f4c658eb02f4c48302
parent bcf5cce7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment