[PATCH] Added support for the Lenovo RD02-D400 USB Modem

2013-12-03 Thread David Cluytens
From: David Cluytens david.cluytens_...@softathome.com

Signed-off-by: David Cluytens david.cluyt...@gmail.com
---
 drivers/usb/class/cdc-acm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 8ad4e94..e840431 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1515,8 +1515,8 @@ static int acm_reset_resume(struct usb_interface *intf)
 
 static const struct usb_device_id acm_ids[] = {
/* quirky and broken devices */
-{ USB_DEVICE(0x17ef, 0x7000), /* Lenovo USB modem */
-.driver_info = NO_UNION_NORMAL, },/* has no union descriptor */
+   { USB_DEVICE(0x17ef, 0x7000), /* Lenovo USB modem */
+   .driver_info = NO_UNION_NORMAL, },/* has no union descriptor */
{ USB_DEVICE(0x0870, 0x0001), /* Metricom GS Modem */
.driver_info = NO_UNION_NORMAL, /* has no union descriptor */
},
-- 
1.8.4.4

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Added support for the Lenovo RD02-D400 USB Modem

2013-12-03 Thread Sergei Shtylyov

Hello.

On 03-12-2013 16:34, David Cluytens wrote:


From: David Cluytens david.cluytens_...@softathome.com



Signed-off-by: David Cluytens david.cluyt...@gmail.com
---
  drivers/usb/class/cdc-acm.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 8ad4e94..e840431 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1515,8 +1515,8 @@ static int acm_reset_resume(struct usb_interface *intf)

  static const struct usb_device_id acm_ids[] = {
/* quirky and broken devices */
-{ USB_DEVICE(0x17ef, 0x7000), /* Lenovo USB modem */
-.driver_info = NO_UNION_NORMAL, },/* has no union descriptor */
+   { USB_DEVICE(0x17ef, 0x7000), /* Lenovo USB modem */
+   .driver_info = NO_UNION_NORMAL, },/* has no union descriptor */


   As far as I can see, this patch is not adding any support.

WBR, Sergei

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] Added support for the Lenovo RD02-D400 USB Modem

2013-11-29 Thread david . cluytens
From: David Cluytens david.cluytens_...@softathome.com

---
 drivers/usb/class/cdc-acm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 3e7560f..8ad4e94 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1515,6 +1515,8 @@ static int acm_reset_resume(struct usb_interface *intf)
 
 static const struct usb_device_id acm_ids[] = {
/* quirky and broken devices */
+{ USB_DEVICE(0x17ef, 0x7000), /* Lenovo USB modem */
+.driver_info = NO_UNION_NORMAL, },/* has no union descriptor */
{ USB_DEVICE(0x0870, 0x0001), /* Metricom GS Modem */
.driver_info = NO_UNION_NORMAL, /* has no union descriptor */
},
-- 
1.8.4.4

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] Added support for the Lenovo RD02-D400 USB Modem

2013-11-29 Thread Sergei Shtylyov

Hello.

On 29-11-2013 19:46, david.cluyt...@gmail.com wrote:


From: David Cluytens david.cluytens_...@softathome.com



---
  drivers/usb/class/cdc-acm.c | 2 ++
  1 file changed, 2 insertions(+)



diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index 3e7560f..8ad4e94 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1515,6 +1515,8 @@ static int acm_reset_resume(struct usb_interface *intf)

  static const struct usb_device_id acm_ids[] = {
/* quirky and broken devices */
+{ USB_DEVICE(0x17ef, 0x7000), /* Lenovo USB modem */
+.driver_info = NO_UNION_NORMAL, },/* has no union descriptor */


   Indent with tab please, as below.


{ USB_DEVICE(0x0870, 0x0001), /* Metricom GS Modem */
.driver_info = NO_UNION_NORMAL, /* has no union descriptor */
},


WBR, Sergei

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html