Re: Explanation required for usb_kill_urb and usb_poision_urb functions

2014-01-30 Thread Kumar Gaurav
On Thursday 30 January 2014 11:46 PM, Alan Stern wrote: On Thu, 30 Jan 2014, Kumar Gaurav wrote: Hi All, I have some questions regarding below two methods in drivers/usr/core/urb.c source code. Methods: void usb_kill_urb(struct urb *urb) void usb_poison_urb(struct urb *urb) In both

Explanation required for usb_kill_urb and usb_poision_urb functions

2014-01-30 Thread Kumar Gaurav
(&urb->use_count) == 0` before going to sleep. Should we add the check before putting the calling process to sleep or avoiding check is intended (please explain if yes). Regards Kumar Gaurav -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body

Re: No keyboard and mouse usb detected at startup.

2013-09-22 Thread Kumar Gaurav
ohci-pci driver. Is CONFIG_USB_OHCI_HCD_PCI enabled? how did you identified it was using ohci? Please reply. Regards Kumar Gaurav -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v4:No Change] xHCI:Fixing xhci_readl definition and function call

2013-09-11 Thread Kumar Gaurav
Sure sarah, Thanks On Wed, Sep 04, 2013 at 11:42:33AM +0530, Kumar Gaurav wrote: On Tuesday 03 September 2013 09:34 PM, Sarah Sharp wrote: I'm confused. I said the last version of this patch didn't apply against usb-next, and you should rebase it. Why did you put "No Chang

Re: [PATCH v4:No Change] xHCI:Fixing xhci_readl definition and function call

2013-09-03 Thread Kumar Gaurav
hange if there's no change from previous patch, but he didn't meant in subject (my bad). On Sat, Aug 31, 2013 at 11:02:45PM +0530, Kumar Gaurav wrote: This patch redefine function xhci_readl. xhci_readl function doesn't use xhci_hcd argument. Hence there is no need of k

Re: [PATCH v4:No Change] xHCI:Fixing xhci_readl definition and function call

2013-09-02 Thread Kumar Gaurav
I tried applying this patch on linux-next and it applies well. i used git apply --apply On Saturday 31 August 2013 11:02 PM, Kumar Gaurav wrote: This patch redefine function xhci_readl. xhci_readl function doesn't use xhci_hcd argument. Hence there is no need of keeping it i

[PATCH v4:No Change] xHCI:Fixing xhci_readl definition and function call

2013-08-31 Thread Kumar Gaurav
igned-off-by: Kumar Gaurav --- drivers/usb/host/xhci-dbg.c | 36 - drivers/usb/host/xhci-hub.c | 72 - drivers/usb/host/xhci-mem.c | 20 - drivers/usb/host/xhci-ring.c | 12 +++--- drivers/usb/host/xhci.c |

Re: [PATCH v3] xHCI: Fixing xhci_readl definition and function call

2013-08-28 Thread Kumar Gaurav
On Wednesday 28 August 2013 10:31 PM, Sarah Sharp wrote: On Wed, Aug 28, 2013 at 08:39:06PM +0530, Kumar Gaurav wrote: On Wednesday 28 August 2013 12:43 PM, Dan Carpenter wrote: On Mon, Aug 26, 2013 at 07:38:57AM +0530, Kumar Gaurav wrote: I've started cloning linux-next and as it&

Re: [PATCH v3] xHCI: Fixing xhci_readl definition and function call

2013-08-28 Thread Kumar Gaurav
On Wednesday 28 August 2013 12:43 PM, Dan Carpenter wrote: On Mon, Aug 26, 2013 at 07:38:57AM +0530, Kumar Gaurav wrote: This patch redefine function xhci_readl.xhci_readl function doesn't use xhci_hcd argument. Hence there is no need of keeping it in the function arguments. Redefining

[PATCH v3] xHCI: Fixing xhci_readl definition and function call

2013-08-25 Thread Kumar Gaurav
d-off-by: Kumar Gaurav --- drivers/usb/host/xhci-dbg.c | 36 +++ drivers/usb/host/xhci-hub.c | 72 +++--- drivers/usb/host/xhci-mem.c | 20 - drivers/usb/host/xhci-ring.c | 12 ++--- drivers/usb/host/xhci.c |

[PATCH v3] xHCI: Fixing xhci_readl definition and function call

2013-08-21 Thread Kumar Gaurav
d-off-by: Kumar Gaurav --- drivers/usb/host/xhci-dbg.c | 36 +++ drivers/usb/host/xhci-hub.c | 72 +++--- drivers/usb/host/xhci-mem.c | 20 - drivers/usb/host/xhci-ring.c | 12 ++--- drivers/usb/host/xhci.c |

[PATCH] xHCI:Fixing xhci_readl definition and function call

2013-08-20 Thread Kumar Gaurav
Fixing other programs in xhci driver which calls this function Signed-off-by: Kumar Gaurav --- drivers/usb/host/xhci-dbg.c | 36 +++ drivers/usb/host/xhci-hub.c | 72 +++--- drivers/usb/host/xhci-mem.c | 20 - drivers/usb/host/xhci-ring.c

Re: [PATCH 1/6] drivers:usb:host:xhci.h Removing xhci_hcd from argument

2013-08-17 Thread Kumar Gaurav
On Saturday 17 August 2013 12:19 PM, Julia Lawall wrote: On Sat, 17 Aug 2013, Kumar Gaurav wrote: On Saturday 17 August 2013 12:30 AM, Greg KH wrote: On Sat, Aug 17, 2013 at 12:18:42AM +0530, Kumar Gaurav wrote: Removed struct xhci_hcd from xhci_readl fucntion as it's no more i

Re: [PATCH 1/6] drivers:usb:host:xhci.h Removing xhci_hcd from argument

2013-08-16 Thread Kumar Gaurav
On Saturday 17 August 2013 12:30 AM, Greg KH wrote: On Sat, Aug 17, 2013 at 12:18:42AM +0530, Kumar Gaurav wrote: Removed struct xhci_hcd from xhci_readl fucntion as it's no more in use. --- drivers/usb/host/xhci.h |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --

[PATCH 6/6] for fixing xhci_readl call in xhci_dbg.c after removing xhci_hcd from function definition

2013-08-16 Thread Kumar Gaurav
--- drivers/usb/host/xhci-dbg.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/usb/host/xhci-dbg.c b/drivers/usb/host/xhci-dbg.c index 5d5e58f..66dc1c0 100644 --- a/drivers/usb/host/xhci-dbg.c +++ b/drivers/usb/host/xhci-dbg.c @

Re: [PATCH 4/6] for fixing xhci_readl call in xhci_ring.c after removing xhci_hcd from function definition

2013-08-16 Thread Kumar Gaurav
On Saturday 17 August 2013 12:25 AM, Greg KH wrote: On Fri, Aug 16, 2013 at 11:53:56AM -0700, Greg KH wrote: On Sat, Aug 17, 2013 at 12:21:08AM +0530, Kumar Gaurav wrote: --- drivers/usb/host/xhci-ring.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions

[PATCH 5/6] for fixing xhci_readl call in xhci_hub.c after removing xhci_hcd from function definition

2013-08-16 Thread Kumar Gaurav
--- drivers/usb/host/xhci-hub.c | 72 +-- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c index 1d35459..c0198af 100644 --- a/drivers/usb/host/xhci-hub.c +++ b/drivers/usb/host/xhci-

[PATCH 4/6] for fixing xhci_readl call in xhci_ring.c after removing xhci_hcd from function definition

2013-08-16 Thread Kumar Gaurav
--- drivers/usb/host/xhci-ring.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 1e57eaf..9d4128c 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -286,7 +286,7 @@ vo

[PATCH 3/6] for fixing xhci_readl call in xhci_mem.c after removing xhci_hcd from function definition

2013-08-16 Thread Kumar Gaurav
--- drivers/usb/host/xhci-mem.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index df6978a..0a8aa3e 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c @@ -2057,7 +2057,

[PATCH 2/6] drivers/usb/host/xhci.c Fixing xhci_readl call

2013-08-16 Thread Kumar Gaurav
Fixed xhci_readl call issue as per definition modified in patch 0019-drivers-usb-host-xhci.h-Removing-xhci_hcd-from-argum.patch Signed-off-by: Kumar Gaurav --- drivers/usb/host/xhci.c | 100 +++ 1 file changed, 50 insertions(+), 50 deletions(-) diff

[PATCH 1/6] drivers:usb:host:xhci.h Removing xhci_hcd from argument

2013-08-16 Thread Kumar Gaurav
Removed struct xhci_hcd from xhci_readl fucntion as it's no more in use. --- drivers/usb/host/xhci.h |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index c338741..7cf0e41 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/

Re: Explanation Needed

2013-08-16 Thread Kumar Gaurav
On Friday 16 August 2013 11:57 PM, Sarah Sharp wrote: On Fri, Aug 16, 2013 at 11:34:58PM +0530, Kumar Gaurav wrote: On Friday 16 August 2013 11:28 PM, Sarah Sharp wrote: On Fri, Aug 16, 2013 at 11:09:12PM +0530, Kumar Gaurav wrote: Hi Sarah, I was just reading through xhci driver's cod

Re: Explanation Needed

2013-08-16 Thread Kumar Gaurav
On Friday 16 August 2013 11:28 PM, Sarah Sharp wrote: On Fri, Aug 16, 2013 at 11:09:12PM +0530, Kumar Gaurav wrote: Hi Sarah, I was just reading through xhci driver's code and found something which i'm unable to understand use of. Please help me understanding them 1.use of struct x

Explanation Needed

2013-08-16 Thread Kumar Gaurav
ne unsigned int xhci_readl(const struct xhci_hcd *xhci,__le32 __iomem *regs) { return readl(regs); } Regards Kumar Gaurav -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info a

Re: Bug 60738 - USB 3.0 connection delay seems to be too short for HP USB 3.0 hard drive

2013-08-13 Thread Kumar Gaurav
drive is working right now and is on Bus 09). Alex On Tue 13 Aug 2013 02:23:50 AM EDT, Kumar Gaurav wrote: Hi Alexandre, I'm new to kernel development. I want to explore this bug. From you dmesg output I'm unable to get the driver your device is using. can you tell me which driver are

Re: Bug 60738 - USB 3.0 connection delay seems to be too short for HP USB 3.0 hard drive

2013-08-12 Thread Kumar Gaurav
Hi Alexandre, I'm new to kernel development. I want to explore this bug. From you dmesg output I'm unable to get the driver your device is using. can you tell me which driver are you using? regards Kumar Gaurav On Tuesday 13 August 2013 11:15 AM, Alexandre Demers wrote: Sorry

Re: [PATCH] USBIP:stub_dev.c fixing string splitted into multiple line issue

2013-08-01 Thread Kumar Gaurav
the macro is using. 2013/8/1 Julia Lawall mailto:julia.law...@lip6.fr>> On Wed, 31 Jul 2013, Kumar Gaurav wrote: > Fixed String splitted into multiple line issue using macro I'm not an expert on this kind of style issue, but I prefer strings that loo

[PATCH] USBIP:stub_dev.c fixing string splitted into multiple line issue

2013-07-31 Thread Kumar Gaurav
Fixed String splitted into multiple line issue using macro Signed-off-by: Kumar Gaurav --- drivers/staging/usbip/stub_dev.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/staging/usbip/stub_dev.c b/drivers/staging/usbip/stub_dev.c index 83d629a