Since amlogic usb features customize ffs to fit for adb, it uses
fixed size of payload buffer and causes data overflow on sdb. To fix
it up, this patch makes not use amlogic customize.
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
#define FUNCTIONFS_MAGIC 0xa647361 /* Chosen by a honest dice roll ;) */
#ifdef CONFIG_AMLOGIC_USB
+#undef CONFIG_AMLOGIC_USB
+#endif
+
+#ifdef CONFIG_AMLOGIC_USB
/*The actual maximum length will depend on the version of the shell
* protocol being used. This should be able to be raised to 16K for
* devices