PD#SWPL-50970
Problem:
nand base interface is changed after sync
Solution:
fix the interface which is changed.
Verify:
none
Change-Id: I97946d2e5b400ade809ffe1b935c469aad7c38f2
Signed-off-by: Liang Yang <liang.yang@amlogic.com>
if (aml_chip) {
mtd = aml_chip->mtd;
if (mtd) {
- nand_release(mtd);
+ nand_release(mtd_to_nand(mtd));
kfree(mtd);
}
kfree(aml_chip);
uByte bDescriptorType;
uWord bString[127];
} UPACKED usb_string_descriptor_t;
-#ifdef CONFIG_AMLOGIC_SYNC_20210524
+
#undef USB_MAX_STRING_LEN
-#endif
#define USB_MAX_STRING_LEN 128
#define USB_LANGUAGE_TABLE 0 /* # of the string language id table */