Re: [PATCH] USB: option: add Quectel BG96 2c7c:0296

From: Sebastian Sjoholm
Date: Sun Nov 19 2017 - 13:53:13 EST


Hi All,

Sorry about the patch below, it is not valid, seems that I need to improve my GIT competence.

Please ignore this, and let me try again.

Thank You.

Regards,
Sebastian

> On Nov 19, 2017, at 18:28 , ssjoholm <ssjoholm@xxxxxxx> wrote:
>
> Signed-off-by: ssjoholm <ssjoholm@xxxxxxx>
>
> Quectel BG96 is an Qualcomm MDM9206 based IoT modem, supporting both CAT-M and NB-IoT. Tested hardware is BG96 mounted on Quectel development board (EVB).
>
> The USB id is added to option.c to allow DIAG,GPS,AT and modem communication with the BG96.
> ---
> drivers/usb/serial/option.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
> index f757e0d2eaf4..3b3513874cfd 100644
> --- a/drivers/usb/serial/option.c
> +++ b/drivers/usb/serial/option.c
> @@ -1183,8 +1183,8 @@ static const struct usb_device_id option_ids[] = {
> .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
> { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC25),
> .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
> - { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96),
> - .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
> + { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96),
> + .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
> { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6001) },
> { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CMU_300) },
> { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6003),
> --
> 2.11.0 (Apple Git-81)
>