Re: [PATCH v5 02/11] usb: musb: kill global and static for multi instance

2012-07-26 Thread Felipe Balbi
Hi, On Wed, Jul 25, 2012 at 05:42:06PM +0530, Ajay Kumar Gupta wrote: @@ -240,20 +238,24 @@ int __devinit musb_init_debugfs(struct musb *musb) struct dentry *root; struct dentry *file; int ret; + charname[10];

RE: [PATCH v5 02/11] usb: musb: kill global and static for multi instance

2012-07-26 Thread Gupta, Ajay Kumar
Hi, On Wed, Jul 25, 2012 at 05:42:06PM +0530, Ajay Kumar Gupta wrote: @@ -240,20 +238,24 @@ int __devinit musb_init_debugfs(struct musb *musb) struct dentry *root; struct dentry *file; int ret; + charname[10];

Re: [PATCH v5 02/11] usb: musb: kill global and static for multi instance

2012-07-26 Thread Felipe Balbi
On Thu, Jul 26, 2012 at 08:25:32AM +, Gupta, Ajay Kumar wrote: Hi, On Wed, Jul 25, 2012 at 05:42:06PM +0530, Ajay Kumar Gupta wrote: @@ -240,20 +238,24 @@ int __devinit musb_init_debugfs(struct musb *musb) struct dentry *root; struct dentry *file; int

RE: [PATCH v5 02/11] usb: musb: kill global and static for multi instance

2012-07-26 Thread Gupta, Ajay Kumar
Hi, On Wed, Jul 25, 2012 at 05:42:06PM +0530, Ajay Kumar Gupta wrote: @@ -240,20 +238,24 @@ int __devinit musb_init_debugfs(struct musb *musb) struct dentry *root; struct dentry *file; int ret; + char

RE: [PATCH v5 02/11] usb: musb: kill global and static for multi instance

2012-07-26 Thread Gupta, Ajay Kumar
Hi, On Wed, Jul 25, 2012 at 05:42:06PM +0530, Ajay Kumar Gupta wrote: @@ -240,20 +238,24 @@ int __devinit musb_init_debugfs(struct musb *musb) struct dentry *root; struct dentry *file; int ret; + char

Re: [PATCH v5 02/11] usb: musb: kill global and static for multi instance

2012-07-26 Thread Felipe Balbi
On Thu, Jul 26, 2012 at 12:46:43PM +, Gupta, Ajay Kumar wrote: Hi, On Wed, Jul 25, 2012 at 05:42:06PM +0530, Ajay Kumar Gupta wrote: @@ -240,20 +238,24 @@ int __devinit musb_init_debugfs(struct musb *musb) struct dentry *root; struct dentry

RE: [PATCH v5 02/11] usb: musb: kill global and static for multi instance

2012-07-26 Thread Gupta, Ajay Kumar
Hi On Thu, Jul 26, 2012 at 12:46:43PM +, Gupta, Ajay Kumar wrote: Hi, On Wed, Jul 25, 2012 at 05:42:06PM +0530, Ajay Kumar Gupta wrote: @@ -240,20 +238,24 @@ int __devinit musb_init_debugfs(struct musb *musb) struct dentry *root; struct

[PATCH v5 02/11] usb: musb: kill global and static for multi instance

2012-07-25 Thread Ajay Kumar Gupta
Moved global variable musb_debugfs_root and static variable old_state to 'struct musb' to help support multi instance of musb controller as present on AM335x platform. Also removed the global variable orig_dma_mask and filled the dev-dma_mask with parent device's dma_mask. Signed-off-by: Ajay