[PATCH v5 01/11] usb: musb: add musb->id to identify core instance

Felipe Balbi balbi at ti.com
Wed Jul 25 22:11:29 EST 2012


hi,

On Wed, Jul 25, 2012 at 05:37:19PM +0530, Ajay Kumar Gupta wrote:
> diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
> index 89d1871..f5eb8a7 100644
> --- a/drivers/usb/musb/musb_core.c
> +++ b/drivers/usb/musb/musb_core.c

<snip>

> @@ -1889,6 +1921,7 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)
>  	pm_runtime_enable(musb->controller);
>  
>  	spin_lock_init(&musb->lock);
> +	musb->id = pdev->id;

I fail to see where this musb->id would be used. Care to clarify ?

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20120725/e8059ee1/attachment.sig>


More information about the devicetree-discuss mailing list