Skip to contentSkip to conversation

linux-next: manual merge of the usb tree with the usb.current tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Dec 20, 2010 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Greg,

Today's linux-next merge of the usb tree got a conflict in drivers/usb/gadget/composite.c between commit dbb442b85a1d82f91cfe0524c4f9b3a5196a10ca ("Revert "USB: gadget: Allow function access to device ID data during bind()"") from the usb.current tree and commit 78bff3c65df33da47e93736bd8847b694084e5a9 ("USB: gadget:
composite: Typo fix") from the usb tree.

Just context changes. I fixed it up (see below) and can carry the fix as necessary.

Signature · 24 lines
Cheers,
Stephen Rothwell                    [email protected]

diff --cc drivers/usb/gadget/composite.c
index 8572dad,21dc0da..0000000
--- a/drivers/usb/gadget/composite.c
+++ b/drivers/usb/gadget/composite.c
@@@ -1118,15 -1126,7 +1118,15 @@@ static int composite_bind(struct usb_ga
  	cdev->desc = *composite->dev;
  	cdev->desc.bMaxPacketSize0 = gadget->ep0->maxpacket;
  
 +	/* standardized runtime overrides for device ID data */
 +	if (idVendor)
 +		cdev->desc.idVendor = cpu_to_le16(idVendor);
 +	if (idProduct)
 +		cdev->desc.idProduct = cpu_to_le16(idProduct);
 +	if (bcdDevice)
 +		cdev->desc.bcdDevice = cpu_to_le16(bcdDevice);
 +
- 	/* stirng overrides */
+ 	/* string overrides */
  	if (iManufacturer || !cdev->desc.iManufacturer) {
  		if (!iManufacturer && !composite->iManufacturer &&
  		    !*composite_manufacturer)
#1 lore raw
Quoted 11 lines · Stephen Rothwell

Hi Greg,

Today's linux-next merge of the usb tree got a conflict in drivers/usb/gadget/composite.c between commit dbb442b85a1d82f91cfe0524c4f9b3a5196a10ca ("Revert "USB: gadget: Allow function access to device ID data during bind()"") from the usb.current tree and commit 78bff3c65df33da47e93736bd8847b694084e5a9 ("USB: gadget:
composite: Typo fix") from the usb tree.

Just context changes. I fixed it up (see below) and can carry the fix as necessary.

Thanks, I'll need this later when this goes to Linus today and I merge in the usb-next branch.

greg k-h