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

2012-07-25 Thread Gupta, Ajay Kumar
Hi, > On Wed, Jul 25, 2012 at 10:34:49AM +, Gupta, Ajay Kumar wrote: > > Hi, > > > > > > On Thu, Jul 19, 2012 at 05:15:58PM +0530, Ajay Kumar Gupta wrote: > > > > Moved global variable "musb_debugfs_root" and static variable > > > > "old_state" to 'struct musb' to help support multi instance of

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

2012-07-25 Thread Felipe Balbi
On Wed, Jul 25, 2012 at 10:34:49AM +, Gupta, Ajay Kumar wrote: > Hi, > > > > On Thu, Jul 19, 2012 at 05:15:58PM +0530, Ajay Kumar Gupta wrote: > > > Moved global variable "musb_debugfs_root" and static variable > > > "old_state" to 'struct musb' to help support multi instance of musb > > > con

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

2012-07-25 Thread Gupta, Ajay Kumar
Hi, > > On Thu, Jul 19, 2012 at 05:15:58PM +0530, Ajay Kumar Gupta wrote: > > 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

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

2012-07-25 Thread Felipe Balbi
Hi, On Thu, Jul 19, 2012 at 05:15:58PM +0530, Ajay Kumar Gupta wrote: > 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_ma

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

2012-07-19 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: A