public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@mvista.com>
To: Keshava Munegowda <keshava_mgowda@ti.com>
Cc: linux-omap@vger.kernel.org, linux-usb@vger.kernel.org,
	balbi@ti.com, sameo@linux.intel.com, parthab@india.ti.com,
	govindraj.raja@ti.com, paul@pwsan.com, b-cousson@ti.com
Subject: Re: [PATCH 2/5 RESEND] ARM: OMAP: USB: Build the USB HOST TLL omap device
Date: Mon, 19 Mar 2012 14:53:14 +0400	[thread overview]
Message-ID: <4F67101A.6050304@mvista.com> (raw)
In-Reply-To: <1332139715-1495-3-git-send-email-keshava_mgowda@ti.com>

Hello.

On 19-03-2012 10:48, Keshava Munegowda wrote:

> From: Keshava Munegowda<Keshava_mgowda@ti.com>

> The hwmod of the usb tll is retrieved and omap device build is
> performed to created the platform device for the usb tll component.

> Signed-off-by: Keshava Munegowda<keshava_mgowda@ti.com>
> Reviewed-by: Partha Basak<parthab@india.ti.com>
> ---
>   arch/arm/mach-omap2/usb-host.c |   28 ++++++++++++++++++++--------
>   1 files changed, 20 insertions(+), 8 deletions(-)

> diff --git a/arch/arm/mach-omap2/usb-host.c b/arch/arm/mach-omap2/usb-host.c
> index f51348d..dc6769a 100644
> --- a/arch/arm/mach-omap2/usb-host.c
> +++ b/arch/arm/mach-omap2/usb-host.c
[...]
> @@ -510,25 +512,35 @@ void __init usbhs_init(const struct usbhs_omap_board_data *pdata)
[...]
> -	pdev = omap_device_build_ss(OMAP_USBHS_DEVICE, bus_id, oh, 2,
> +	pdev = omap_device_build(OMAP_USBTLL_DEVICE, bus_id, tll_hwm,
> +				(void *)&usbtll_data, sizeof(usbtll_data),

    There's no need to explicitly cast to 'void *'. The cast is automatic.

> +				omap_uhhtll_latency,
> +				ARRAY_SIZE(omap_uhhtll_latency), false);
> +	if (IS_ERR(pdev)) {
> +		pr_err("Could not build hwmod device %s\n",
> +			USBHS_TLL_HWMODNAME);
> +		return;
> +	}
> +
> +	pdev = omap_device_build(OMAP_USBHS_DEVICE, bus_id, uhh_hwm,
>   				(void *)&usbhs_data, sizeof(usbhs_data),

    Same here.

WBR, Sergei

  parent reply	other threads:[~2012-03-19 10:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19  6:48 [PATCH 0/5 RESEND] ARM: OMAP: TLL driver implementation for USB host driver Keshava Munegowda
2012-03-19  6:48 ` [PATCH 1/5 RESEND] ARM: OMAP: USB: HOST TLL platform driver Keshava Munegowda
2012-03-19  6:48   ` [PATCH 2/5 RESEND] ARM: OMAP: USB: Build the USB HOST TLL omap device Keshava Munegowda
     [not found]     ` <1332139715-1495-3-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2012-03-19  6:48       ` [PATCH 3/5 RESEND] ARM: OMAP: USB: Remove TLL specific code Keshava Munegowda
     [not found]         ` <1332139715-1495-4-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2012-03-19  6:48           ` [PATCH 4/5 RESEND] ARM: OMAP: USB: Invoke the TLL driver from USB HS core driver Keshava Munegowda
     [not found]             ` <1332139715-1495-5-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2012-03-19  6:48               ` [PATCH 5/5 RESEND] ARM: OMAP: change the USB TLL clocks device name Keshava Munegowda
2012-03-19 10:59             ` [PATCH 4/5 RESEND] ARM: OMAP: USB: Invoke the TLL driver from USB HS core driver Sergei Shtylyov
2012-03-19 10:53     ` Sergei Shtylyov [this message]
2012-03-19  9:41   ` [PATCH 1/5 RESEND] ARM: OMAP: USB: HOST TLL platform driver Shubhrajyoti
     [not found]     ` <4F66FF47.7000800-l0cyMroinI0@public.gmane.org>
2012-03-20  7:28       ` Munegowda, Keshava
     [not found]         ` <CAP05o4+A7AZ0SmMLgCfbBHs+zhsN-c2zM8caYe8M3-OC3YmZzg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-20  8:52           ` Shubhrajyoti
2012-03-20  9:15             ` Munegowda, Keshava
2012-03-19 10:06   ` Felipe Balbi
2012-03-19 11:09     ` Sergei Shtylyov
     [not found]       ` <4F6713D8.3080206-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
2012-03-20  7:25         ` Munegowda, Keshava
2012-03-20  9:30     ` Munegowda, Keshava
     [not found]       ` <CAP05o4LkWpANqibBXsY-FbCTOsioUq4qPdA8k=Ct4HHGYfL4Ng-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-03-20  9:59         ` Felipe Balbi
     [not found]           ` <20120320095914.GE9157-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2012-03-20 10:51             ` Munegowda, Keshava
2012-03-20 11:01               ` Felipe Balbi
2012-03-20  7:32   ` Munegowda, Keshava
2012-03-20 10:01     ` Felipe Balbi

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=4F67101A.6050304@mvista.com \
    --to=sshtylyov@mvista.com \
    --cc=b-cousson@ti.com \
    --cc=balbi@ti.com \
    --cc=govindraj.raja@ti.com \
    --cc=keshava_mgowda@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=parthab@india.ti.com \
    --cc=paul@pwsan.com \
    --cc=sameo@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox