Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c290bca authored by Sujeet Kumar's avatar Sujeet Kumar
Browse files

usb: f_mass_storage: Allow rw for cdrom lun attribute



For CDROM lun, the necessary LUN mapping with iso image
needs to be done from userspace. Fix the lun attribute
to allow rw.

Change-Id: Ia360652a86df69581a0fcd9fd80f45eba9e51636
Signed-off-by: default avatarSujeet Kumar <ksujeet@codeaurora.org>
parent afc0dcc0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2739,7 +2739,7 @@ static DEVICE_ATTR(file, 0644, fsg_show_file, fsg_store_file);
static struct device_attribute dev_attr_ro_cdrom =
	__ATTR(ro, 0444, fsg_show_ro, NULL);
static struct device_attribute dev_attr_file_nonremovable =
	__ATTR(file, 0444, fsg_show_file, NULL);
	__ATTR(file, 0644, fsg_show_file, fsg_store_file);

#ifdef CONFIG_USB_MSC_PROFILING
static DEVICE_ATTR(perf, 0644, fsg_show_perf, fsg_store_perf);