Adding SS support to the Gadget FW - fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Felipe

Due to Greg comments on "[PATCH 06/41] usb: gadget: add max_speed to 
usb_composite_driver" I modified this patch and removed the 
#ifdef CONFIG_USB_GADGET_DUALSPEED from different gadget drivers, as
he requested.
In "usb: gadget: add SuperSpeed support to the Gadget Framework" patch 
I removed one small unnecessary comment (that he commented about) and
since I already touched this patch - merged the patch you had on 
your branch that fixed ARM compilation.

I also changed min()->min_t() in composite.c where the casting was done
for both parameters. Unfortunately, due to personal reasons I woun't be
able to continue with fixing all gadget drivers to use min_t() instead
of min() in the near future. So I at least fixed the one place that
pushed me into this change in the first place :)

I wasn't sure what is the best (and most convenient for you) branch to
base this on so this is what I did:
- the patches are based on Greg's tree (usb-next branch)
- I took the patches from your for-next branch since you updated the
commit messages and I wanted to preserve that.

Since these 2 patches are independent of the patches adding SS support to 
dummy_hcd, and the fact that Sebastian modified the code, I didn't touch
the dummy_hcd patches and thus no point in resending those. 

Hope this is ok with you. Let me know if you prefer this to be done in
some other way.

Tatyana Brokhman (2):
  usb: gadget: add max_speed to usb_composite_driver
  usb: gadget: add SuperSpeed support to the Gadget Framework

 drivers/usb/gadget/Kconfig        |    6 +
 drivers/usb/gadget/audio.c        |    1 +
 drivers/usb/gadget/cdc2.c         |    1 +
 drivers/usb/gadget/composite.c    |  259 ++++++++++++++++++++++++++++++++++---
 drivers/usb/gadget/epautoconf.c   |    6 +-
 drivers/usb/gadget/ether.c        |    1 +
 drivers/usb/gadget/g_ffs.c        |    1 +
 drivers/usb/gadget/hid.c          |    1 +
 drivers/usb/gadget/mass_storage.c |    1 +
 drivers/usb/gadget/multi.c        |    1 +
 drivers/usb/gadget/ncm.c          |    1 +
 drivers/usb/gadget/nokia.c        |    1 +
 drivers/usb/gadget/serial.c       |    1 +
 drivers/usb/gadget/webcam.c       |    1 +
 drivers/usb/gadget/zero.c         |    1 +
 include/linux/usb/composite.h     |   16 +++
 include/linux/usb/gadget.h        |   31 +++++
 17 files changed, 309 insertions(+), 21 deletions(-)

-- 
1.7.3.3

--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux