[PATCH] usb: f_fs: Prevent gadget unbind if it is already unbound

2018-01-08 Thread Amit Pundir
tr...@google.com> Cc: Badhri <bad...@google.com> Cc: Android Kernel Team <kernel-t...@android.com> Cc: sta...@vger.kernel.org Signed-off-by: Hemant Kumar <hema...@codeaurora.org> [AmitP: Cherry-picked it from android-4.14 and updated the commit log] Signed-off-by: Amit Pundir <amit.p

[PATCH v2] usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG

2016-06-29 Thread Amit Pundir
gt; [AmitP: Cherry-picked this patch and folded other relevant fixes from Android common kernel android-4.4] Signed-off-by: Amit Pundir <amit.pun...@linaro.org> --- v2: Sanitized the name of original author. Dropped his email address from the list of reviewers, since it is no longer v

[PATCH] usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG

2016-06-27 Thread Amit Pundir
gt; [AmitP: Cherry-picked this patch and folded other relevant fixes from Android common kernel android-4.4] Signed-off-by: Amit Pundir <amit.pun...@linaro.org> --- Cherry picked this usb tethering fix from AOSP kernel/common/android-4.4 tree and to make sure it doesn't get overlooked,

Re: [RFC][PATCH] usb: gadget: u_ether: Add workqueue as bottom half handler for rx data path

2016-02-09 Thread Amit Pundir
On 9 February 2016 at 04:50, Greg Kroah-Hartman <gre...@linuxfoundation.org> wrote: > On Tue, Feb 09, 2016 at 02:07:02AM +0530, Amit Pundir wrote: >> Please ignore this one too. I should have build tested these patches >> individually and not in particular series. I'll resend

Re: [RFC][PATCH] usb: gadget: rndis: Free the response queue during REMOTE_NDIS_RESET_MSG

2016-02-08 Thread Amit Pundir
Please ignore this one. I build tested these patches in series and turned out it can't be build independently because configNr is deprecated. I'll resend this patch. Nevertheless I'd like to get a feedback on the real problem this patch is trying to solve here. Thanks, Amit Pundir On 9 February

[RFC][PATCH v2] usb: gadget: u_ether: Fix data stall issue in RNDIS tethering mode

2016-02-08 Thread Amit Pundir
e...@ti.com> Signed-off-by: Vijayavardhan Vennapusa <vvre...@codeaurora.org> [pundir: * cherry-picked this patch from AOSP experimental/android-4.4 tree. * folded in an AOSP build fix from Praneeth Bajjuri <prane...@ti.com>] Signed-off-by: Amit Pundir <amit.pun...@linaro.org>

[RFC][PATCH v2] usb: gadget: u_ether: Add workqueue as bottom half handler for rx data path

2016-02-08 Thread Amit Pundir
ro.org> Cc: Praneeth Bajjuri <prane...@ti.com> Signed-off-by: Badhri Jagan Sridharan <bad...@google.com> [pundir: * cherry-picked this patch from AOSP experimental/android-4.4 tree. * folded in an AOSP build fix from Praneeth Bajjuri <prane...@ti.com>] Signed-off-by: Amit Pund

Re: [RFC][PATCH] usb: gadget: u_ether: Add workqueue as bottom half handler for rx data path

2016-02-08 Thread Amit Pundir
Please ignore this one too. I should have build tested these patches individually and not in particular series. I'll resend this patch. Thanks, Amit Pundir On 9 February 2016 at 01:41, Amit Pundir <amit.pun...@linaro.org> wrote: > From: Badhri Jagan Sridharan <bad...@google.com&

[RFC][PATCH v2] usb: gadget: rndis: Free the response queue during REMOTE_NDIS_RESET_MSG

2016-02-08 Thread Amit Pundir
ra.org> Signed-off-by: Xerox Lin <xerox_...@htc.com> [pundir: * cherry-picked this patch from AOSP experimental/android-4.4 tree. * folded in the AOSP fix to use rndis_params instead of configNr.] Signed-off-by: Amit Pundir <amit.pun...@linaro.org> --- v2: Use rndis_params instead of

[RFC][PATCH] usb: gadget: u_ether: Add workqueue as bottom half handler for rx data path

2016-02-08 Thread Amit Pundir
ro.org> Signed-off-by: Badhri Jagan Sridharan <bad...@google.com> [pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.] Signed-off-by: Amit Pundir <amit.pun...@linaro.org> --- Cherry-picked this patch from AOSP common/experimental/android-4.4 tree. I coul

[RFC][PATCH] usb: gadget: prevent change of Host MAC address of 'usb0' interface

2016-02-08 Thread Amit Pundir
t; Cc: John Stultz <john.stu...@linaro.org> Cc: Sumit Semwal <sumit.sem...@linaro.org> Signed-off-by: Badhri Jagan Sridharan <bad...@google.com> [pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.] Signed-off-by: Amit Pundir <amit.pun...@linaro.org> --- Cher

[RFC][PATCH] usb: gadget: u_ether: Fix data stall issue in RNDIS tethering mode

2016-02-08 Thread Amit Pundir
nnapusa <vvre...@codeaurora.org> [pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.] Signed-off-by: Amit Pundir <amit.pun...@linaro.org> --- Cherry-picked this patch from AOSP common/experimental/android-4.4 tree. I could not find upstream submission history for thi

[RFC][PATCH] usb: phy: Dual role sysfs class definition

2016-02-08 Thread Amit Pundir
emwal <sumit.sem...@linaro.org> Signed-off-by: Badhri Jagan Sridharan <bad...@google.com> [pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.] Signed-off-by: Amit Pundir <amit.pun...@linaro.org> --- Cherry-picked this patch from AOSP common/experimental/androi

[RFC][PATCH] usb: gadget: rndis: Free the response queue during REMOTE_NDIS_RESET_MSG

2016-02-08 Thread Amit Pundir
ra.org> Signed-off-by: Xerox Lin <xerox_...@htc.com> [pundir: cherry-picked this patch from AOSP experimental/android-4.4 tree.] Signed-off-by: Amit Pundir <amit.pun...@linaro.org> --- Cherry-picked this patch from AOSP common/experimental/android-4.4 tree. I could not find upst

Re: [RFC][PATCH 1/2] usb: gadget: configfs: add MTP function

2015-08-14 Thread Amit Pundir
On 14 August 2015 at 02:11, Krzysztof Opasiak k.opas...@samsung.com wrote: On 08/13/2015 09:57 PM, Greg Kroah-Hartman wrote: On Thu, Aug 13, 2015 at 09:34:46PM +0200, Krzysztof Opasiak wrote: Hello, On 08/13/2015 09:12 PM, Amit Pundir wrote: his MTP function is based on years of work

[RFC][PATCH 0/2] usb: gadget: add MTP function and Uevent userspace notifications

2015-08-13 Thread Amit Pundir
down. Thoughts and feedback would be appreciated. Thanks, Amit Pundir Cc: Mike Lockwood lockw...@android.com Cc: Benoit Goby ben...@android.com Cc: Colin Cross ccr...@android.com Cc: Arve Hjønnevåg a...@android.com Cc: Peter Oh p...@broadcom.com Cc: Greg Hackmann ghackm...@google.com Cc: Badhri

[RFC][PATCH 2/2] usb: gadget: configfs: notify userspace of usb state changes

2015-08-13 Thread Amit Pundir
Yefremov yegorsli...@googlemail.com Cc: Philippe Reynes trem...@gmail.com Cc: John Stultz john.stu...@linaro.org Cc: Sumit Semwal sumit.sem...@linaro.org Signed-off-by: Amit Pundir amit.pun...@linaro.org --- drivers/usb/gadget/Kconfig| 8 ++ drivers/usb/gadget/configfs.c | 201

[RFC][PATCH 1/2] usb: gadget: configfs: add MTP function

2015-08-13 Thread Amit Pundir
...@linaro.org Cc: Sumit Semwal sumit.sem...@linaro.org Signed-off-by: Amit Pundir amit.pun...@linaro.org --- Documentation/ABI/testing/configfs-usb-gadget-mtp |7 + Documentation/usb/gadget-testing.txt | 24 + drivers/usb/gadget/Kconfig| 13 + drivers/usb/gadget