[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <op.vgs1ipl47p4s8u@pikus>
Date: Mon, 02 Aug 2010 11:48:15 +0200
From: Michał Nazarewicz <m.nazarewicz@...sung.com>
To: Greg KH <greg@...ah.com>, David Brownell <david-b@...bell.net>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Dries Van Puymbroeck <Dries.VanPuymbroeck@...imo.com>,
Kyungmin Park <kyungmin.park@...sung.com>
Subject: Re: [PATCHv5 1/3] USB: gadget: composite: Better string override
handling
On Sun, 01 Aug 2010 21:05:33 +0200, David Brownell <david-b@...bell.net> wrote:
> NAK. You're still hard-wiring an un-managed serial number.
Uh? I'm not. Current code overrides the serial number only when the
iSerial module parameter is given:
+ if (iSerialNumber)
+ cdev->serial_override =
+ override_id(cdev, &cdev->desc.iSerialNumber);
and when host requests string which ID is saved as a overridden for
serial number the module parameter is taken.
+ else if (cdev->serial_override == id)
+ str = iSerialNumber;
--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Michał "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists