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

Commit 06586666 authored by Fevax's avatar Fevax Committed by Michael Benedict
Browse files

MTP: force generic mtp driver instead of Samsung one

parent e8d414c4
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -48,13 +48,8 @@ usb_f_dm-y := f_dm.o
obj-$(CONFIG_USB_CONFIGFS_F_DM)	+= usb_f_dm.o
usb_f_adb-y			:= f_adb.o
obj-$(CONFIG_USB_CONFIGFS_F_ADB)+= usb_f_adb.o
ifeq ($(CONFIG_SEC_FACTORY),y)
usb_f_mtp-y                     := f_mtp.o
obj-$(CONFIG_USB_F_MTP)         += usb_f_mtp.o
else
	usb_f_mtp_samsung-y                     := f_mtp_samsung.o
	obj-$(CONFIG_USB_F_MTP)         += usb_f_mtp_samsung.o
endif
usb_f_ptp-y                     := f_ptp.o
obj-$(CONFIG_USB_F_PTP)         += usb_f_ptp.o
usb_f_audio_source-y            := f_audio_source.o
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@
#include <linux/configfs.h>
#include <linux/usb/composite.h>

#include "configfs.h"
#include "../configfs.h"

#define MTP_BULK_BUFFER_SIZE       16384
#define INTR_BUFFER_SIZE           28