No more users for it.
Signed-off-by: Heikki Krogerus
---
drivers/usb/dwc3/core.c | 35 --
drivers/usb/dwc3/platform_data.h | 53
2 files changed, 88 deletions(-)
delete mode 100644 drivers/usb/dwc3/platform_data.h
diff -
This should allow the core driver to drop handling of
platform data and expect the platform specific details to
always come from properties.
Signed-off-by: Heikki Krogerus
Cc: Huang Rui
CC: John Youn
---
drivers/usb/dwc3/dwc3-pci.c | 81 +++--
1 file cha
Hi,
Now that we can use the build-in properties as fallback when the
primary firmware (DT or ACPI) does not provide the requested property,
it should be always safe to add them. I.e, by adding them to a device,
nothing will be overwritten.
Changes since v1:
- s/taps/tapes/ in dwc3-pci.c
- Dropped
Hi Michal,
On 26/01/16 14:53, Michal Nazarewicz wrote:
> Resending my previous two sets for f_fs and f_midi. This time rebased
> on top of Felipe’s next branch.
>
> Dan Carpenter (1):
> usb: gadget: f_midi: missing unlock on error path
>
> Du, Changbin (1):
> usb: f_fs: avoid race condition
Some devices I got show an inability to operate right after
power on if they are already connected. They are beyond recovery
if the descriptors are requested multiple times. So in case of
a timeout we rather bail early and reset again.
This patch is a rework of a patch that fell through the cracks
According to DWC2 documentation, DPTxFSize field of DPTXFSIZn register
is read only, which means that software cannot change FIFO size.
Register description says:
"The value of this register is the Largest Device Mode Periodic Tx Data
FIFO Depth (parameter OTG_TX_DPERIO_DFIFO_DEPTH_n), as specifie
Since we handle FIFOs and endpoint separately, using variable named 'ep'
in context of FIFO is misleading, hence we rename it to 'fifo'.
Signed-off-by: Robert Baldyga
---
drivers/usb/dwc2/gadget.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/dwc2/gadget
Since FIFO is always freed in dwc2_hsotg_ep_disable(), ep->fifo_index
is always 0 in dwc2_hsotg_ep_enable(), hence code inside if() block is
never executed.
Signed-off-by: Robert Baldyga
---
drivers/usb/dwc2/gadget.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git
As kill_all_requests() potentially flushes TX FIFO, we should should
free FIFO after calling it. Otherwise FIFO could stay unflushed properly.
Signed-off-by: Robert Baldyga
---
drivers/usb/dwc2/gadget.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/dwc2/
In context of FIFO registers we use ep->fifo_index instead of ep->index.
Signed-off-by: Robert Baldyga
---
drivers/usb/dwc2/gadget.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index 422ab7d..0d0f6fe 100644
--- a/
Hello,
This patch series fixes TX FIFO handling in UDC part of DWC2 driver.
It gets rid of few bugs, improves compliance with DWC2 documentation
and cleanes up driver code. More detailed description is provided in
commit messages.
Best regards,
Robert Baldyga
Changelog:
v2:
- Addressed comments
USB requests in SourceSink function are allocated in sourcesink_get_alt()
function, so we prefer to free them rather in sourcesink_disable() than
in source_sink_complete() when request is completed with error. It provides
better symetry in resource management and improves code readability.
Signed-
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadg
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadg
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadg
As we have automatic endpoint state handling it's no longer needed.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/function/u_ether.c | 28 ++--
1 file changed, 2 insertions(+), 26 deletions(-)
diff --git a/drivers/usb/gadget/function/u_ether.c
b/drivers/usb/gadge
Generate descriptors in new format and attach them to USB function in
prep_descs(). Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/function/f_mass_storage.c | 91 +---
driv
As we have automatic endpoint state handling it's no longer needed.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/function/u_serial.c | 16
1 file changed, 16 deletions(-)
diff --git a/drivers/usb/gadget/function/u_serial.c
b/drivers/usb/gadget/function/u_serial.c
index
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Get rid of get_alt() callback, as now USB_REQ_GET_INTERFACE
is handled automat
Fixes: 76e0da34c7cec5a7dc94667326a948de2e9c8c8d
("usb-gadget/uvc: use per-attribute show and store methods")
s/aname/cname - 'cname' was originally used as an attribute name,
because UVCG_OPTS_ATTR() macro doesn't have 'aname' parameter.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadg
Update documentation to reflect changes in UVC configfs interface.
Signed-off-by: Robert Baldyga
---
Documentation/ABI/testing/configfs-usb-gadget-uvc | 39 ---
Documentation/usb/gadget-testing.txt | 18 +++
2 files changed, 12 insertions(+), 45 deletions
As we don't need distinction between interface descriptors for different
speeds, we can remove some amount of unnecessary code. Additionally we
simplify configfs interface of UVC function.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/function/f_uvc.c| 60 ---
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadg
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadg
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadg
Generate descriptors in new format and attach them to USB function in
prep_descs(). Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/function/f_serial.c | 122 +++--
1 fi
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadg
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadg
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Move cdev initialization to hidg_alloc(). Remove boilerplate
code.
Signed-off
So far USB requests allocated in hidg_set_alt() were not freed. Now we
free them in case of hidg_set_alt() failure (when we are not able to
allocate and enqueue all the requests) or in hidg_disable() function.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/function/f_hid.c | 22 +++
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code. Change USB request lifetime
management - now it's all
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Remove boilerplate code.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadg
Handle functions using new API properly.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/configfs.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/usb/gadget/configfs.c b/drivers/usb/gadget/configfs.c
index fb3c9ba..60c6898 100644
--- a/drivers/usb/gadge
Generate descriptors in new format and attach them to USB function in
prep_descs(). Change set_alt() implementation and implement clear_alt()
operation. Get rid of get_alt() callback, as now USB_REQ_GET_INTERFACE
is handled automatically by composite framwework. Remove unnecessary
boilerplate code.
Generate descriptors in new format and attach them to USB function in
prep_descs(). Implement prep_vendor_descs() to supply class specific
descriptors. Change set_alt() implementation and implement clear_alt()
operation. Get rid of get_alt() which now is handled automatically.
Remove boilerplate co
Introduce function returning address of given endpoint within the function.
This value can be useful during preparation of class or vendor specific
descriptors in prep_vendor_descs() callback. It can be also necessary
to handle some class or vendor specific setup requests.
Signed-off-by: Robert Ba
Enable adding USB functions which use new API. Check if all necessary
function ops are supplied and call prep_descs() to allow function register
it's entity descriptors. Notice that bind() function is not called for
USB functions using new API, as now bind procedure is handled for them
in composite
Generate descriptors in new format and attach them to USB function in
prep_descs(). Change set_alt() implementation and implement clear_alt()
operation. Remove unnecessary boilerplate code.
Call usb_config_do_bind() in legacy gadget zero, because it uses
usb_add_config_only() instead of usb_add_co
Change set_alt() behavior for functions using new API. Before we call
set_alt() callback, we disable endpoints of previously selected altsetting,
and enable endpoints of currently selected altsetting, which reduces
amount of boilerplate code in USB functions.
We also calculate index of interface i
Introduce function returning endpoint of given index in active altsetting
of specified interface. It's intended to be used in set_alt() callback
to obtain endpoints of currently selected altsetting.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/composite.c | 33 +++
As now we store current altsetting number for each interface, we can
handle USB_REQ_GET_INTERFACE automatically.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/composite.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/composite.c b/drivers/us
Introduce function returning id of interface at given index in function.
The id value is equal bInterfaceNumber field in interface descriptor.
This value can be useful during preparation of class or vendor specific
descriptors in prep_vendor_descs() callback. It can be also necessary
to handle some
As now USB function supplies entity descriptors to composite in
prep_descs() callback, we can perform bind inside composite framework
without involving bind() callback (which now is unused and will be
removed after converting all functions in kernel to new API).
For now we bind each configuration
Changes meaning of disable() operation for functions using new API.
Before calling disable() callback composite automatically disables
endpoints of active altsettings of given USB function. This reduces
amount of boilerplate code in USB functions.
Signed-off-by: Robert Baldyga
---
drivers/usb/ga
After binding all configurations in gadget, call prep_vendor_descs()
for each function which uses new API and implements this callback.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/composite.c | 31 +++
include/linux/usb/composite.h | 2 ++
2 files changed,
Introduce two new USB function operations:
1. prep_descs() prepares and assigns entity (interface and endpoint)
descriptors to USB function. It's mandatory, in the new function API,
as each USB function should have at least minimalistic set of entity
descriptors. The minimum is single inferface wi
Introduce clear_alt() callback, which is called when prevoiusly set
altsetting is cleared. This can take place in two situations:
- when another altsetting is selected,
- during function disable.
Thanks to symetry to set_alt(), clear_alt() simplifies managing of
resources allocated in set_alt(). I
For now we generate descriptor arrays for each speed as it is done by old
API functions, to allow use mixed new and old API based functions in single
configurations.
This will be removed after complete switch to new API.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/composite.c | 175 +++
Introduce functions and macros allowing to create and assign descriptors
to function easily. Macros build structure hierarchy using pointers to
USB descriptors, while functions assigning them to gadget make a deep
copy. It allows for easy conversion of USB functions to make them using
new descripto
Introduce new structures designed to contain information about
descriptors. It splits descriptors in two categories:
1. Entity descs - interface and endpoint descriptors
2. Vendor descs - all other vendor and class specific descriptors
Entity descriptors are embedded in hierarchy of structures whi
USB requests in Loopback function are allocated in loopback_get_alt()
function, so we prefer to free them rather in loopback_disable() than
in loopback_complete() when request is completed with error. It provides
better symetry in resource management and improves code readability.
Signed-off-by: R
As usb_gstrings_attach() failure can happen when some USB functions are
are already added to some configurations (in previous loop iterations),
we should always call purge_configs_funcs() to be sure that failure is
be handled properly.
Signed-off-by: Robert Baldyga
---
drivers/usb/gadget/configf
Avoid recursive spinlock locking, which could occur during
usb_gadget_deactivate() call. At it's execution path it could call
composite_disconnect() function which locks cdev->lock, previously
locked in usb_function_deactivate() to protect deactivation counter.
To fix this we introduce additional
So far it was decided during the bind process whether is iso altsetting
included to f_sourcesink function or not. This decision was based on
availability of isochronous endpoints.
Since we can assemble gadget driver using composite framework and configfs
from many different functions, availability
Hi Felipe,
Here is my new patch series doing a lot of changes in composite framework
and modifying USB Function API. Some of concepts changed significantly,
for example bind process is done automatically inside composite framework
after collecting descriptors from all Functions. Hence bind() opera
On Tue, 2016-01-26 at 10:28 -0500, Alan Stern wrote:
> On Tue, 26 Jan 2016, Oliver Neukum wrote:
> > That is problematic. The ABORT_TMF does need IO for which we need
> > to wait. And if we just submit and pretend the abort worked, the tag
> > will be reused.
> > Perhaps we could drop the spinlock
Hi Peter,
I am running imx6sl-evk with linux-next 20160203 and I am trying to
make it wake up via a USB mouse click.
These are the steps I am doing:
- Insert the USB mouse in the USB host port:
usb 1-1: new low-speed USB device number 7 using ci_hdrc
input: Logitech USB Optical Mouse as
On Wed, Feb 3, 2016 at 1:21 PM, Fabio Estevam wrote:
> Hi Peter,
>
> I am running imx6sl-evk with linux-next 20160203 and I am trying to
> make it wake up via a USB mouse click.
>
> These are the steps I am doing:
>
> - Insert the USB mouse in the USB host port:
>
&
On Wed, Feb 3, 2016 at 1:21 PM, Fabio Estevam wrote:
> Hi Peter,
>
> I am running imx6sl-evk with linux-next 20160203 and I am trying to
> make it wake up via a USB mouse click.
>
> These are the steps I am doing:
>
> - Insert the USB mouse in the USB host port:
>
&
On Wed, 3 Feb 2016, Oliver Neukum wrote:
> Some devices I got show an inability to operate right after
> power on if they are already connected. They are beyond recovery
> if the descriptors are requested multiple times. So in case of
> a timeout we rather bail early and reset again.
>
> This pat
On Wed, 3 Feb 2016, Fabio Estevam wrote:
> On Wed, Feb 3, 2016 at 1:21 PM, Fabio Estevam wrote:
> > Hi Peter,
> >
> > I am running imx6sl-evk with linux-next 20160203 and I am trying to
> > make it wake up via a USB mouse click.
> >
> > These are the ste
Hi Alan,
On Wed, Feb 3, 2016 at 2:29 PM, Alan Stern wrote:
> It seems likely that this script does exactly the same thing that you
> did before by hand. Why does one work but not the other?
The script enables all of these entries:
$ find /sys -name wakeup | grep usb
/sys/devices/soc0/soc/2000
On Wed, 3 Feb 2016, Oliver Neukum wrote:
> On Tue, 2016-01-26 at 10:28 -0500, Alan Stern wrote:
> > On Tue, 26 Jan 2016, Oliver Neukum wrote:
>
> > > That is problematic. The ABORT_TMF does need IO for which we need
> > > to wait. And if we just submit and pretend the abort worked, the tag
> > >
On Wed, 3 Feb 2016, Fabio Estevam wrote:
> Hi Alan,
>
> On Wed, Feb 3, 2016 at 2:29 PM, Alan Stern wrote:
>
> > It seems likely that this script does exactly the same thing that you
> > did before by hand. Why does one work but not the other?
>
> The script enables all of these entries:
>
>
On Wed, Feb 3, 2016 at 2:58 PM, Alan Stern wrote:
> On Wed, 3 Feb 2016, Fabio Estevam wrote:
>
>> Hi Alan,
>>
>> On Wed, Feb 3, 2016 at 2:29 PM, Alan Stern wrote:
>>
>> > It seems likely that this script does exactly the same thing that you
>> > did before by hand. Why does one work but not the
On Wed, Feb 03, 2016 at 07:30:56AM +, Suresh Gupta wrote:
>
>
> > -Original Message-
> > From: Greg KH [mailto:gre...@linuxfoundation.org]
> > Sent: Tuesday, February 02, 2016 10:19 PM
> > To: Suresh Gupta ; suresh gupta
> >
> > Cc: linux-usb@vger.kernel.org
> > Subject: Re: USB Raw
xhci_find_next_ext_cap doesn't check for PCI hotplug removal and may use
the PCI master abort bit pattern (~0) to calculate a new PCI address
offset to read/write. The has lead to reproducable crashes when testing
surprise removal during device initialization on a Stratus platform, at
least after
hi,
Bin Liu writes:
> On Wed, Jan 20, 2016 at 11:56:34AM +0100, Arnd Bergmann wrote:
>> The phy-am335x driver accidentally selects 'USB_COMMON', which is
>> not correct as that symbol should indicate whether USB host or
>> target mode is enabled, but it might not:
>>
>> warning: (AM335X_PHY_USB
Hi,
Li Jun writes:
> Initialize vbus_value to be 0 since it's possible not to assign
> any value before judgement.
>
> Signed-off-by: Li Jun
> ---
> drivers/usb/phy/phy-mxs-usb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/phy/phy-mxs-usb.c b/drivers/us
Hi,
(please, never top-post)
"Tang, Jianqiang" writes:
> Hi Balbi,
> Any update/response about this patch?
>
> Please tell me if patch v3 is ok for you, if not, I can modify and
> upload again base on your comments. Thanks!
Still going through my queue.
--
balbi
signature.asc
Desc
Hi Arnd,
Arnd Bergmann writes:
> Hi Felipe,
>
> This set of patches addresses warnings I got in randconfig builds,
> in the USB drivers. The first three patches are for the pxa25x
> UDC driver and are a larger scale cleanup triggered by finding
> the initial bug. The other four are relatively si
Hi,
John Youn writes:
> On 1/26/2016 8:14 AM, Doug Anderson wrote:
>> Hi,
>>
>> On Thu, Jan 21, 2016 at 3:28 PM, Heiko Stuebner wrote:
>>> Am Montag, 11. Januar 2016, 16:32:00 schrieb John Youn:
This series fixes a couple regressions reported on Raspberry Pi.
>>>
>>> same regressions (Isa
Bjorn Helgaas writes:
> In include/linux/usb/usb_phy_generic.h, use a forward declaration for
> struct gpio_desc instead of including linux/gpio/consumer.h.
>
> Of the files that include usb_phy_generic.h, only
> drivers/usb/phy/phy-generic.c uses the gpiod_*() interfaces from
> linux/gpio/consume
John,
On Tue, Feb 2, 2016 at 3:57 PM, John Youn wrote:
> On 1/28/2016 6:20 PM, Douglas Anderson wrote:
>> This is a bit of catchall series for all the bug fix and performance
>> patches I've been working on over the last few months. Note that for
>> dwc2 we need to do LOTS in software and need s
As I'm not working for Texas Instruments anymore,
ba...@ti.com isn't a valid address. I'll be using
ba...@kernel.org at least for the time being.
Signed-off-by: Felipe Balbi
---
MAINTAINERS | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
i
[-cc Mark]
On Wed, Feb 03, 2016 at 08:18:02PM +0200, Felipe Balbi wrote:
> Bjorn Helgaas writes:
> > In include/linux/usb/usb_phy_generic.h, use a forward declaration for
> > struct gpio_desc instead of including linux/gpio/consumer.h.
> >
> > Of the files that include usb_phy_generic.h, only
> >
Felipe Balbi writes:
> Hi Arnd,
>
>> arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h | 198 -
>> arch/arm/mach-pxa/include/mach/pxa25x-udc.h | 163
>
> for arch/arm I need Acked-by from relevant folks.
You already have mine for arch/arm/mach-pxa/include/mach/pxa25x-udc.h I th
Hi,
On Thu, Jan 28, 2016 at 6:20 PM, Douglas Anderson wrote:
> static void dwc2_qh_init(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh,
> struct dwc2_hcd_urb *urb)
> {
> @@ -569,11 +655,6 @@ static void dwc2_qh_init(struct dwc2_hsotg *hsotg,
> struct dwc2_qh *qh,
>
On Wednesday 03 February 2016 20:15:47 Robert Jarzmik wrote:
> Felipe Balbi writes:
>
> > Hi Arnd,
> >
> >> arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h | 198 -
> >> arch/arm/mach-pxa/include/mach/pxa25x-udc.h | 163
> >
> > for arch/arm I need Acked-by from relevant folk
On Wed, 2016-02-03 at 11:24 -0500, Alan Stern wrote:
> On Wed, 3 Feb 2016, Oliver Neukum wrote:
>
> > Some devices I got show an inability to operate right after
> > power on if they are already connected. They are beyond recovery
> > if the descriptors are requested multiple times. So in case of
On Wednesday 03 February 2016 19:54:02 Felipe Balbi wrote:
>
> hi,
>
> Bin Liu writes:
> > On Wed, Jan 20, 2016 at 11:56:34AM +0100, Arnd Bergmann wrote:
> >> The phy-am335x driver accidentally selects 'USB_COMMON', which is
> >> not correct as that symbol should indicate whether USB host or
> >
On Mon, Jan 25, 2016 at 09:03:57AM +0100, Steinar H. Gunderson wrote:
> On Sun, Jan 24, 2016 at 01:12:08PM -0800, Greg Kroah-Hartman wrote:
> > Something is really wrong with your email client, it is saying this is
> > sent on Nov 26, the same exact time as your previous patch, yet you sent
> > thi
On Mon, Jan 25, 2016 at 08:31:21PM +0100, Heiner Kallweit wrote:
> Now that usb_bus_list has been removed and switched to idr
> rename the related mutex accordingly.
>
> Signed-off-by: Heiner Kallweit
> ---
> drivers/usb/core/devices.c | 6 +++---
> drivers/usb/core/hcd.c | 30 +
On Tue, Jan 26, 2016 at 06:27:47PM +0800, Lu Baolu wrote:
>
>
> On 01/26/2016 03:36 PM, Greg Kroah-Hartman wrote:
> > On Tue, Jan 26, 2016 at 12:14:16PM +0800, Lu Baolu wrote:
> >> xHCI debug capability (DbC) is an optional functionality provided
> >> by an xHCI host controller. Software learns t
On Tue, Feb 02, 2016 at 10:34:34PM +0800, Lu Baolu wrote:
>
>
> On 01/26/2016 08:58 PM, Lu Baolu wrote:
> > Hi,
> >
> > This patch series adds support for early printk through USB3 debug port.
> > USB3 debug port is described in xHCI specification as an optional extended
> > capability.
> >
> > P
On Wed, Feb 03, 2016 at 08:31:24PM +0200, Felipe Balbi wrote:
> As I'm not working for Texas Instruments anymore,
> ba...@ti.com isn't a valid address. I'll be using
> ba...@kernel.org at least for the time being.
>
> Signed-off-by: Felipe Balbi
Acked-by: Greg Kroah-Hartman
--
To unsubscribe fr
On Wed, Feb 03, 2016 at 12:51:12PM -0500, Joe Lawrence wrote:
> xhci_find_next_ext_cap doesn't check for PCI hotplug removal and may use
> the PCI master abort bit pattern (~0) to calculate a new PCI address
> offset to read/write. The has lead to reproducable crashes when testing
> surprise remov
Hi,
Arnd Bergmann writes:
>> > On Wed, Jan 20, 2016 at 11:56:34AM +0100, Arnd Bergmann wrote:
>> >> The phy-am335x driver accidentally selects 'USB_COMMON', which is
>> >> not correct as that symbol should indicate whether USB host or
>> >> target mode is enabled, but it might not:
>> >>
>> >>
Add a new interface for userspace to preallocate memory that can be
used with usbfs. This gives two primary benefits:
- Zerocopy; data no longer needs to be copied between the userspace
and the kernel, but can instead be read directly by the driver from
userspace's buffers. This works for a
On Wed, Feb 03, 2016 at 01:23:17PM -0800, Greg Kroah-Hartman wrote:
> Attachments don't work, you know better than that :(
Since I've now been bitten by this several times: Is there any sort of best
practice for integrating git with MUAs? What I'm doing right now is
cut-and-paste from mutt to get
"Steinar H. Gunderson" writes:
> On Wed, Feb 03, 2016 at 01:23:17PM -0800, Greg Kroah-Hartman wrote:
>> Attachments don't work, you know better than that :(
>
> Since I've now been bitten by this several times: Is there any sort of best
> practice for integrating git with MUAs? What I'm doing rig
Am 03.02.2016 um 22:28 schrieb Greg Kroah-Hartman:
> On Mon, Jan 25, 2016 at 08:31:21PM +0100, Heiner Kallweit wrote:
>> Now that usb_bus_list has been removed and switched to idr
>> rename the related mutex accordingly.
>>
>> Signed-off-by: Heiner Kallweit
>> ---
>> drivers/usb/core/devices.c |
Use mutex usb_bus_idr_lock to protect idr_find.
Signed-off-by: Heiner Kallweit
---
drivers/usb/host/r8a66597-hcd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c
index 1ef8873..bfa7fa3 100644
--- a/drivers/usb/host/r8a66597
Now that usb_bus_list has been removed and switched to idr
rename the related mutex accordingly.
Signed-off-by: Heiner Kallweit
---
drivers/usb/core/devices.c | 6 +++---
drivers/usb/core/hcd.c | 30 +++---
drivers/usb/core/hub.c | 4 ++--
drivers/usb/mon/mon_ma
When I connect a single Digi Edgeport device to CentOS 7, I get /dev/ttyUSB0-7
and I can access all eight ports in order. When I connect a second Edgeport
device, the ports are mixed up and not all are accessible. How can I fix this?
Howard
--
To unsubscribe from this list: send the line "unsubs
On 2/2/2016 6:01 AM, Sergei Shtylyov wrote:
> Hello.
>
> On 2/2/2016 4:42 AM, John Youn wrote:
>
>> Enable SuperSpeedPlus by programming the DCFG.speed and after
>> enumerating, set gadget->speed appropriately.
>>
>> Signed-off-by: John Youn
>> ---
>> drivers/usb/dwc3/gadget.c | 14 +++
On Thu, Feb 04, 2016 at 12:15:50AM +0200, Felipe Balbi wrote:
>> Since I've now been bitten by this several times: Is there any sort of best
>> practice for integrating git with MUAs? What I'm doing right now is
>> cut-and-paste from mutt to get the to/cc/in-reply-to headers right, and
>> that's su
The phy-am335x driver selects 'USB_COMMON', but all other drivers
use 'depends on' for that symbol, and it depends on USB || USB_GADGET
itself, which causes a Kconfig warning:
warning: (AM335X_PHY_USB) selects USB_COMMON which has unmet direct
dependencies (USB_SUPPORT && (USB || USB_GADGET))
As
On 02/04/2016 05:43 AM, Greg Kroah-Hartman wrote:
> On Tue, Feb 02, 2016 at 10:34:34PM +0800, Lu Baolu wrote:
>>
>> On 01/26/2016 08:58 PM, Lu Baolu wrote:
>>> Hi,
>>>
>>> This patch series adds support for early printk through USB3 debug port.
>>> USB3 debug port is described in xHCI specificati
Hi Mathias,
Greg is asking for your ack for these patches. Can you please
help to take a look?
Thanks,
Baolu
On 02/04/2016 05:43 AM, Greg Kroah-Hartman wrote:
> On Tue, Feb 02, 2016 at 10:34:34PM +0800, Lu Baolu wrote:
>>
>> On 01/26/2016 08:58 PM, Lu Baolu wrote:
>>> Hi,
>>>
>>> This patch seri
1 - 100 of 116 matches
Mail list logo