mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
change u5501 modem usbport to 244
This commit is contained in:
@@ -171,7 +171,7 @@ static int bp_suspend(struct bp_private_data *bp)
|
||||
printk("<-----u5501 bp_suspend-------->\n");
|
||||
#if defined(CONFIG_ARCH_RK29)
|
||||
rk29_mux_api_set(GPIO1C1_UART0RTSN_SDMMC1WRITEPRT_NAME, GPIO1H_GPIO1C1);
|
||||
#elif defined(CONFIG_ARCH_RK30)
|
||||
#elif defined(CONFIG_SOC_RK3066)
|
||||
rk30_mux_api_set(GPIO1A7_UART1RTSN_SPI0TXD_NAME, GPIO1A_GPIO1A7);
|
||||
#endif
|
||||
|
||||
@@ -183,7 +183,7 @@ static int bp_suspend(struct bp_private_data *bp)
|
||||
#if defined(CONFIG_ARCH_RK2928)
|
||||
rk29_mux_api_set(GPIO1B1_SPI_TXD_UART1_SOUT_NAME, GPIO1B_GPIO1B1);
|
||||
gpio_set_value(RK2928_PIN1_PB1, GPIO_LOW);
|
||||
#elif defined(CONFIG_ARCH_RK30)
|
||||
#elif defined(CONFIG_SOC_RK3066)
|
||||
rk30_mux_api_set(GPIO1A5_UART1SOUT_SPI0CLK_NAME, GPIO1A_GPIO1A5);
|
||||
gpio_set_value(RK30_PIN1_PA5, GPIO_LOW);
|
||||
#endif
|
||||
@@ -197,13 +197,13 @@ static int bp_resume(struct bp_private_data *bp)
|
||||
{
|
||||
#if defined(CONFIG_ARCH_RK29)
|
||||
rk29_mux_api_set(GPIO1C1_UART0RTSN_SDMMC1WRITEPRT_NAME, GPIO1H_UART0_RTS_N);
|
||||
#elif defined(CONFIG_ARCH_RK30)
|
||||
#elif defined(CONFIG_SOC_RK3066)
|
||||
rk30_mux_api_set(GPIO1A7_UART1RTSN_SPI0TXD_NAME, GPIO1A_UART1_RTS_N);
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_ARCH_RK2928)
|
||||
rk29_mux_api_set(GPIO1B1_SPI_TXD_UART1_SOUT_NAME, GPIO1B_UART1_SOUT);
|
||||
#elif defined(CONFIG_ARCH_RK30)
|
||||
#elif defined(CONFIG_SOC_RK3066)
|
||||
rk30_mux_api_set(GPIO1A5_UART1SOUT_SPI0CLK_NAME, GPIO1A_UART1_SOUT);
|
||||
#endif
|
||||
//bp->suspend_status = 0;
|
||||
|
||||
1
drivers/usb/serial/usb-serial.c
Normal file → Executable file
1
drivers/usb/serial/usb-serial.c
Normal file → Executable file
@@ -1079,6 +1079,7 @@ int usb_serial_probe(struct usb_interface *interface,
|
||||
|| ((le16_to_cpu(dev->descriptor.idVendor) == 0x19f5) && (le16_to_cpu(dev->descriptor.idProduct) == 0x9013) && (bp_id == 4))
|
||||
|| ((le16_to_cpu(dev->descriptor.idVendor) == 0x0E8D) && (le16_to_cpu(dev->descriptor.idProduct) == 0x00A2) && (bp_id == 1))
|
||||
|| ((le16_to_cpu(dev->descriptor.idVendor) == 0x21f5) && (le16_to_cpu(dev->descriptor.idProduct) == 0x2012) && (bp_id == 10))
|
||||
|| ((le16_to_cpu(dev->descriptor.idVendor) == 0x1c9e) && (le16_to_cpu(dev->descriptor.idProduct) == 0x9603) && (bp_id == 11))
|
||||
){
|
||||
BP_USB =1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user