From: Sergei Shtylyov <sshtylyov@mvista.com>
To: "Heiko Stübner" <heiko@sntech.de>
Cc: Greg KH <greg@kroah.com>, Alan Stern <stern@rowland.harvard.edu>,
Kukjin Kim <kgene.kim@samsung.com>,
Ben Dooks <ben-linux@fluff.org>,
Thomas Abraham <thomas.ab@samsung.com>,
Sangbeom Kim <sbkim73@samsung.com>,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-usb@vger.kernel.org,
Alexander Neumann <alexander@debian.org>
Subject: Re: [PATCH 2/4] ARM: S3C24XX: Add plaform device definition for USB High-Speed gadget controller.
Date: Sun, 08 May 2011 15:17:52 +0400 [thread overview]
Message-ID: <4DC67BE0.9080905@ru.mvista.com> (raw)
In-Reply-To: <201105072226.53556.heiko@sntech.de>
Hello.
On 08-05-2011 0:26, Heiko Stübner wrote:
> From: Thomas Abraham<thomas.ab@samsung.com>
> S3C2416, S3C2443 and S3C2450 includes a USB High-Speed Gadget controller module.
> This patch adds the following for supporting this controller.
> 1. Definition for USB High-Speed controller base address.
> 2. Platform device instantiation.
> 3. Declaration for platform data structure.
> 4. Functionality to setup platform data for the controller.
> Signed-off-by: Thomas Abraham<thomas.ab@samsung.com>
> Signed-off-by: Sangbeom Kim<sbkim73@samsung.com>
[...]
> diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c
> index 268f3ed..7366799 100644
> --- a/arch/arm/plat-s3c24xx/devs.c
> +++ b/arch/arm/plat-s3c24xx/devs.c
[...]
> @@ -233,6 +234,46 @@ void __init s3c24xx_udc_set_platdata(struct s3c2410_udc_mach_info *pd)
[...]
> +void __init s3c24xx_hsudc_set_platdata(struct s3c24xx_hsudc_platdata *pd)
> +{
> + struct s3c24xx_hsudc_platdata *npd;
> +
> + npd = kmalloc(sizeof(*npd), GFP_KERNEL);
> + if (npd) {
> + memcpy(npd, pd, sizeof(*npd));
You could use kmemdup() (from mm/util.c) instead...
WBR, Sergei
WARNING: multiple messages have this Message-ID (diff)
From: sshtylyov@mvista.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] ARM: S3C24XX: Add plaform device definition for USB High-Speed gadget controller.
Date: Sun, 08 May 2011 15:17:52 +0400 [thread overview]
Message-ID: <4DC67BE0.9080905@ru.mvista.com> (raw)
In-Reply-To: <201105072226.53556.heiko@sntech.de>
Hello.
On 08-05-2011 0:26, Heiko St?bner wrote:
> From: Thomas Abraham<thomas.ab@samsung.com>
> S3C2416, S3C2443 and S3C2450 includes a USB High-Speed Gadget controller module.
> This patch adds the following for supporting this controller.
> 1. Definition for USB High-Speed controller base address.
> 2. Platform device instantiation.
> 3. Declaration for platform data structure.
> 4. Functionality to setup platform data for the controller.
> Signed-off-by: Thomas Abraham<thomas.ab@samsung.com>
> Signed-off-by: Sangbeom Kim<sbkim73@samsung.com>
[...]
> diff --git a/arch/arm/plat-s3c24xx/devs.c b/arch/arm/plat-s3c24xx/devs.c
> index 268f3ed..7366799 100644
> --- a/arch/arm/plat-s3c24xx/devs.c
> +++ b/arch/arm/plat-s3c24xx/devs.c
[...]
> @@ -233,6 +234,46 @@ void __init s3c24xx_udc_set_platdata(struct s3c2410_udc_mach_info *pd)
[...]
> +void __init s3c24xx_hsudc_set_platdata(struct s3c24xx_hsudc_platdata *pd)
> +{
> + struct s3c24xx_hsudc_platdata *npd;
> +
> + npd = kmalloc(sizeof(*npd), GFP_KERNEL);
> + if (npd) {
> + memcpy(npd, pd, sizeof(*npd));
You could use kmemdup() (from mm/util.c) instead...
WBR, Sergei
next prev parent reply other threads:[~2011-05-08 11:19 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-23 21:35 [PATCH RESEND 0/4] USB: gadget: Add Samsung S3C24xx USB HS controller driver Heiko Stübner
2011-03-23 21:35 ` Heiko Stübner
2011-03-23 21:37 ` [PATCH RESEND 1/4] ARM: S3C2416: Add USB Phy register definitions Heiko Stübner
2011-03-23 21:37 ` Heiko Stübner
2011-03-23 21:38 ` [PATCH RESEND 2/4] ARM: S3C24XX: Add plaform device definition for USB High-Speed gadget controller Heiko Stübner
2011-03-23 21:38 ` Heiko Stübner
2011-03-23 21:39 ` [PATCH RESEND v3 3/4] USB: Gadget: Add Samsung S3C24XX USB High-Speed controller driver Heiko Stübner
2011-03-23 21:39 ` Heiko Stübner
2011-04-13 23:28 ` Greg KH
2011-04-13 23:28 ` Greg KH
2011-04-14 9:06 ` [PATCH RESEND v2 0/4] USB: gadget: Add Samsung S3C24xx USB HS " Heiko Stübner
2011-04-14 9:06 ` Heiko Stübner
2011-04-14 9:08 ` [PATCH 1/4] ARM: S3C2416: Add USB Phy register definitions Heiko Stübner
2011-04-14 9:08 ` Heiko Stübner
2011-04-14 9:10 ` [PATCH 2/4] ARM: S3C24XX: Add plaform device definition for USB High-Speed gadget controller Heiko Stübner
2011-04-14 9:10 ` Heiko Stübner
2011-04-14 9:11 ` [PATCH v4 3/4] USB: Gadget: Add Samsung S3C24XX USB High-Speed controller driver Heiko Stübner
2011-04-14 9:11 ` Heiko Stübner
2011-04-14 15:35 ` Alan Stern
2011-04-14 15:35 ` Alan Stern
2011-04-14 15:47 ` Greg KH
2011-04-14 15:47 ` Greg KH
2011-04-14 17:06 ` Heiko Stübner
2011-04-14 17:06 ` Heiko Stübner
2011-04-14 17:15 ` Alan Stern
2011-04-14 17:15 ` Alan Stern
2011-04-16 10:00 ` Heiko Stübner
2011-04-16 10:00 ` Heiko Stübner
2011-04-16 14:58 ` Greg KH
2011-04-16 14:58 ` Greg KH
2011-04-16 18:47 ` Heiko Stübner
2011-04-16 18:47 ` Heiko Stübner
2011-05-07 20:23 ` [PATCH v3 0/4] USB: gadget: Add Samsung S3C24xx USB HS " Heiko Stübner
2011-05-07 20:23 ` Heiko Stübner
2011-05-07 20:24 ` [PATCH 1/4] ARM: S3C2416: Add USB Phy register definitions Heiko Stübner
2011-05-07 20:24 ` Heiko Stübner
[not found] ` <201105072223.44163.heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2011-05-07 20:26 ` [PATCH 2/4] ARM: S3C24XX: Add plaform device definition for USB High-Speed gadget controller Heiko Stübner
2011-05-07 20:26 ` Heiko Stübner
2011-05-08 11:17 ` Sergei Shtylyov [this message]
2011-05-08 11:17 ` Sergei Shtylyov
2011-05-07 20:28 ` [PATCH v5 3/4] USB: Gadget: Add Samsung S3C24XX USB High-Speed controller driver Heiko Stübner
2011-05-07 20:28 ` Heiko Stübner
2011-05-07 20:29 ` [PATCH 4/4] ARM: S3C2416: Add support for USB 2.0 High-Speed gadget controller Heiko Stübner
2011-05-07 20:29 ` Heiko Stübner
2011-04-14 9:12 ` Heiko Stübner
2011-04-14 9:12 ` Heiko Stübner
2011-03-23 21:40 ` [PATCH RESEND " Heiko Stübner
2011-03-23 21:40 ` Heiko Stübner
2011-04-08 10:04 ` [PATCH RESEND 0/4] USB: gadget: Add Samsung S3C24xx USB HS controller driver Heiko Stübner
2011-04-08 10:04 ` Heiko Stübner
2011-04-08 20:52 ` Greg KH
2011-04-08 20:52 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2010-10-13 0:10 [PATCH " Sangbeom Kim
[not found] ` <1286928627-22824-1-git-send-email-sbkim73-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2010-10-13 0:10 ` [PATCH 2/4] ARM: S3C24XX: Add plaform device definition for USB High-Speed gadget controller Sangbeom Kim
2010-10-13 0:10 ` Sangbeom Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DC67BE0.9080905@ru.mvista.com \
--to=sshtylyov@mvista.com \
--cc=alexander@debian.org \
--cc=ben-linux@fluff.org \
--cc=greg@kroah.com \
--cc=heiko@sntech.de \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=sbkim73@samsung.com \
--cc=stern@rowland.harvard.edu \
--cc=thomas.ab@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.