[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130205092444.GP32118@arwen.pp.htv.fi>
Date: Tue, 5 Feb 2013 11:24:45 +0200
From: Felipe Balbi <balbi@...com>
To: Roger Quadros <rogerq@...com>
CC: <tony@...mide.com>, <linux@....linux.org.uk>,
<sameo@...ux.intel.com>, <balbi@...com>,
<stern@...land.harvard.edu>, <gregkh@...uxfoundation.org>,
<eballetbo@...il.com>, <javier@...hile0.org>,
<sshtylyov@...sta.com>, <linux-usb@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 07/30] mfd: omap-usb-host: update nports in platform_data
On Mon, Jan 28, 2013 at 01:30:08PM +0200, Roger Quadros wrote:
> EHCI driver would need to know the number of ports available
> on the platform. We set the nports parameter of platform_data
> based on IP version if it was not already provided.
>
> Signed-off-by: Roger Quadros <rogerq@...com>
> Acked-by: Samuel Ortiz <sameo@...ux.intel.com>
Acked-by: Felipe Balbi <balbi@...com>
> ---
> drivers/mfd/omap-usb-host.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
> index 6b5edf6..0874352 100644
> --- a/drivers/mfd/omap-usb-host.c
> +++ b/drivers/mfd/omap-usb-host.c
> @@ -575,6 +575,7 @@ static int usbhs_omap_probe(struct platform_device *pdev)
> omap->usbhs_rev, omap->nports);
> break;
> }
> + pdata->nports = omap->nports;
> }
>
> i = sizeof(struct clk *) * omap->nports;
> --
> 1.7.4.1
>
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists