On Wednesday 24 September 2014 10:27:52 Peter Chen wrote:
>
> Antoine is adding a generic chipdea glue layer driver, which like ehci generic
> platform driver: drivers/usb/host/ehci-platform.c, since other architectures
> like MIPS (Someone submitted mips chipidea driver before) may not have devic
From: Alan Cox
The device controller is the same but it has different PCI ID. Add this new
ID to the driver's list of supported IDs.
Signed-off-by: Alan Cox
Signed-off-by: Mika Westerberg
Signed-off-by: Heikki Krogerus
---
drivers/usb/dwc3/dwc3-pci.c | 2 ++
1 file changed, 2 insertions(+)
On Tue, Sep 23, 2014 at 05:27:22PM +0200, Johan Hovold wrote:
> On Tue, Sep 23, 2014 at 08:21:51AM -0700, Greg Kroah-Hartman wrote:
> > On Tue, Sep 23, 2014 at 04:56:24PM +0200, Johan Hovold wrote:
> > > On Mon, Aug 25, 2014 at 05:51:25PM +0200, Johan Hovold wrote:
> > > > This is quirk is indeed n
If the probe drivers have already set the dma_mask, not
replacing the value.
Signed-off-by: Heikki Krogerus
---
drivers/usb/dwc3/core.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index b0f4d52..d08cac5 100644
---
Most devices are configured for 32-bit DMA addresses.
Setting the mask to 32-bit here removes the need for the
drivers to do it separately.
Signed-off-by: Heikki Krogerus
Cc: "Rafael J. Wysocki"
---
drivers/acpi/acpi_platform.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/acpi/
Hi,
The original series included patch that adds Braswell PCI ID, but I
send it separately.
The DMA mask caused a problem as our acpi platform code does not
provide anything for us. Instead of trying to fix it in dwc3 I
decided to suggest the first patch in this series where I provide
default DMA
Adds ACPI ID used on newer Intel SoCs.
Signed-off-by: Heikki Krogerus
---
drivers/usb/dwc3/core.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index d08cac5..c2cf2d8 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/c
On Thu, Aug 21, 2014 at 12:43:30PM +0530, Nikhil Badola wrote:
> Check 2.4 IP version for multi port host USB controller and
> return FSL_USB_VER_2_4 macro
>
> Signed-off-by: Nikhil Badola
> ---
> drivers/usb/host/fsl-mph-dr-of.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drive
On Thu, Aug 21, 2014 at 12:56:22PM +0530, Nikhil Badola wrote:
> Add support for USB controller version-2.5 used in
> T4240 rev2.0, T1024, B3421, T1040, T2080, LS1021A.
>
> Signed-off-by: Nikhil Badola
> ---
> - Depends on commit 990c2c7829d98517228f2b2ff14919c83b75e124
> drivers: u
On Thu, Aug 21, 2014 at 12:56:22PM +0530, Nikhil Badola wrote:
> Add support for USB controller version-2.5 used in
> T4240 rev2.0, T1024, B3421, T1040, T2080, LS1021A.
>
> Signed-off-by: Nikhil Badola
> ---
> - Depends on commit 990c2c7829d98517228f2b2ff14919c83b75e124
> drivers: u
On Mon, Sep 15, 2014 at 04:13:52PM +0200, Hans de Goede wrote:
> Hi,
>
> On 09/15/2014 04:08 PM, Greg Kroah-Hartman wrote:
> > On Mon, Sep 15, 2014 at 04:04:12PM +0200, Hans de Goede wrote:
> >> And set this quirk for the Seagate Expansion Desk (0bc2:2312), as that one
> >> seems to hang upon rece
On Mon, Sep 22, 2014 at 10:52:56AM +0200, Johan Hovold wrote:
> On Mon, Sep 22, 2014 at 09:50:43AM +0200, Andreas Bomholtz wrote:
> > Added the Seluxit ApS USB Serial Dongle to cp210x driver.
> >
> > Signed-off-by: Andreas Bomholtz
> > ---
>
> Thanks for resending. Applied just fine now.
Was th
On Mon, Sep 15, 2014 at 10:22:49AM -0500, dingu...@opensource.altera.com wrote:
> From: Dinh Nguyen
>
> When enabling HCD_BH for the DWC2 HCD, these local_irq_save/local_irq_restore
> was causing a timeout with a webcam.
>
> Signed-off-by: Dinh Nguyen
> ---
> drivers/usb/core/hcd.c | 2 --
> 1
On Fri, Sep 05, 2014 at 01:42:09AM +0400, Sergei Shtylyov wrote:
> From: Antoine Tenart
>
> The USB PHY member of the HCD structure is renamed to 'usb_phy' and
> modifications are done in all drivers accessing it.
> This is in preparation to adding the generic PHY support.
>
> Signed-off-by: Ant
On Sat, Sep 06, 2014 at 11:12:27PM -0400, Lars R. Damerow wrote:
> Signed-off-by: Lars R. Damerow
No changelog body?
Also, the subject should have usb and vhci_sysfs somewhere in there,
right?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body
On Sun, Sep 21, 2014 at 07:59:42PM +0100, Mark wrote:
> Hi,
>
> usb_stor_euscsi_init() calls usb_stor_control_msg() with timeout argument
> 5000. USB_CTRL_SET_TIMEOUT is defined to be 5000 in usb.h, so would it make
> sense to use that instead? Patch below if it would.
>
> Signed-off-by: Mark Kni
On Fri, Sep 19, 2014 at 10:13:50AM +0800, Lu Baolu wrote:
> This full-speed USB device generates spurious remote wakeup event
> as soon as USB_DEVICE_REMOTE_WAKEUP feature is set. As the result,
> Linux can't enter system suspend and S0ix power saving modes once
> this keyboard is used.
>
> This p
On Sat, Sep 20, 2014 at 08:41:21PM +, Paul Zimmerman wrote:
> > From: linux-usb-ow...@vger.kernel.org
> > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Alan Stern
> > Sent: Friday, September 19, 2014 12:39 PM
> >
> > On Fri, 19 Sep 2014, Petr Mladek wrote:
> >
> > > The 3rd version o
On Tue, Sep 23, 2014 at 07:12:40PM +, Scot Doyle wrote:
> According to commit 0cce2eda19923e5e5ccc8b042dec5af87b3ffad0
> USB: fix LANGID=0 regression
>
> usb devices are not required to report string descriptors. Since they are
> optional, log an info message instead of an error message.
>
On Tue, Sep 23, 2014 at 10:28:49PM +, Scot Doyle wrote:
> I'd like to change this error message:
> [3.325837] usb 1-4: string descriptor 0 malformed (err = -61), defaulting
> to 0x0409
>
> into an error message followed by a debug message:
> [3.324726] usb 1-4: malformed string descri
On Wednesday 24 September 2014 09:44:19 Arnd Bergmann wrote:
>
> We can also gradually move in some of the other glue drivers into
> the main driver if the differences are small enough.
>
FWIW, I've just looked at the other glue drivers that already
exist:
- zevio can just get merged into the c
Hi Greg,
Here are two more device ids for v3.17-final.
Thanks,
Johan
The following changes since commit 9e82bf014195d6f0054982c463575cdce24292be:
Linux 3.17-rc5 (2014-09-14 17:50:12 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-ser
On Tue, Sep 23, 2014 at 09:44:48PM -0700, Greg Kroah-Hartman wrote:
> On Mon, Sep 22, 2014 at 10:52:56AM +0200, Johan Hovold wrote:
> > On Mon, Sep 22, 2014 at 09:50:43AM +0200, Andreas Bomholtz wrote:
> > > Added the Seluxit ApS USB Serial Dongle to cp210x driver.
> > >
> > > Signed-off-by: Andre
On Fri, Sep 19, 2014 at 10:22 PM, Octavian Purdila
wrote:
> Some GPIO chips (e.g. the DLN2 USB adapter) have blocking get/set
> operation but do not need a threaded irq handler.
>
> Signed-off-by: Octavian Purdila
Usually I don't apply patches adding interfaces with no users, but
this seems ver
On Wed, Sep 24 2014, Heiko Schocher wrote:
> use the values for RNDIS over Ethernet as defined in
> http://www.usb.org/developers/defined_class
> (search for RDNIS):
>
> - baseclass: 0xef (miscellaneous)
> - subclass: 0x04
> - protocol: 0x01
>
> with this setings the file in Documentation/usb/linu
Hi,
On Tuesday 23 September 2014 05:13 PM, Heikki Krogerus wrote:
> On Tue, Sep 23, 2014 at 04:33:09PM +0530, Kishon Vijay Abraham I wrote:
>> Hi,
>>
>> On Tuesday 23 September 2014 04:23 PM, Heikki Krogerus wrote:
>>> On Mon, Sep 22, 2014 at 05:07:55PM +0530, Kishon Vijay Abraham I wrote:
On
On Mon, 22 Sep 2014, Octavian Purdila wrote:
> Currently the I/O buffer is allocated part of the device status
> structure, potentially sharing the same cache line with other members
> in this structure.
>
> Allocate the buffer separately, to avoid the I/O operations corrupting
> the device statu
On Mon, 22 Sep 2014, Octavian Purdila wrote:
> Signed-off-by: Octavian Purdila
> ---
> drivers/mfd/viperboard.c | 12
> 1 file changed, 4 insertions(+), 8 deletions(-)
Looks fine, but won't apply without patch 1.
> diff --git a/drivers/mfd/viperboard.c b/drivers/mfd/viperboard.c
>
On Wed, Sep 24, 2014 at 11:12:06AM +0100, Lee Jones wrote:
> On Mon, 22 Sep 2014, Octavian Purdila wrote:
>
> > Currently the I/O buffer is allocated part of the device status
> > structure, potentially sharing the same cache line with other members
> > in this structure.
> >
> > Allocate the buf
On Fri, Sep 19, 2014 at 11:22:42PM +0300, Octavian Purdila wrote:
> This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO
> Master Adapter DLN-2. Details about the device can be found here:
>
> https://www.diolan.com/i2c/i2c_interface.html.
>
> Information about the USB protocol can b
On Fri, Sep 19, 2014 at 11:22:43PM +0300, Octavian Purdila wrote:
> +struct dln2_i2c {
> + struct platform_device *pdev;
> + struct i2c_adapter adapter;
> + u32 freq;
> + u32 min_freq;
> + u32 max_freq;
> + /*
> + * Buffer to hold the packet for read or write transfers
On Wed, Sep 24, 2014 at 10:54:51AM +0200, Linus Walleij wrote:
> On Fri, Sep 19, 2014 at 10:22 PM, Octavian Purdila
> wrote:
>
> > Some GPIO chips (e.g. the DLN2 USB adapter) have blocking get/set
> > operation but do not need a threaded irq handler.
> >
> > Signed-off-by: Octavian Purdila
>
>
There is no need to init .owner field.
Based on the patch from Peter Griffin
"mmc: remove .owner field for drivers using module_platform_driver"
This patch removes the superflous .owner field for drivers which
use the module_platform_driver API, as this is overriden in
platform_driver_register a
On Wed, Sep 24, 2014 at 10:30:41AM +0200, Arnd Bergmann wrote:
> On Wednesday 24 September 2014 09:44:19 Arnd Bergmann wrote:
> >
> > We can also gradually move in some of the other glue drivers into
> > the main driver if the differences are small enough.
> >
>
> FWIW, I've just looked at the o
Hi,
I did some benchmarks to check the maximum transfer rate of a USB-to-SCSI
converter. The converter is USB 1.1, so limited to the 12Mbps full speed
rate. The performance when connected to a USB 3.0 port is significantly
worse than when connected to a USB 2.0 port, about 26.5% slower (0.63MB/sec
On Wed, 24 Sep 2014, Johan Hovold wrote:
> On Wed, Sep 24, 2014 at 11:12:06AM +0100, Lee Jones wrote:
> > On Mon, 22 Sep 2014, Octavian Purdila wrote:
> >
> > > Currently the I/O buffer is allocated part of the device status
> > > structure, potentially sharing the same cache line with other memb
On Wednesday 24 September 2014 19:29:05 Peter Chen wrote:
>
> So, it is IP CORE LIB (you suggest) vs IP CORE Platform Driver
> (dwc3, musb, chipidea) you are talking about, right? Except for
> creating another platform driver as well as related DT node (optional),
> are there any advantages compar
Hi,
This follows on from something I mentioned in my recent post "[PATCH]
storage: Don't scan target 7 for SCM USB-SCSI converters".
In drivers/usb/storage/usb.c, usb_stor_control_thread():
/* reject if target != 0 or if LUN is higher than
* the maximum known LUN
*/
On 2014-09-24 13:48, Heiko Schocher wrote:
use the values for RNDIS over Ethernet as defined in
http://www.usb.org/developers/defined_class
(search for RDNIS):
- baseclass: 0xef (miscellaneous)
- subclass: 0x04
- protocol: 0x01
That is usb class, it is not the same thing as communication devic
On Wed, Sep 24, 2014 at 01:00:02PM +0100, Lee Jones wrote:
> On Wed, 24 Sep 2014, Johan Hovold wrote:
>
> > On Wed, Sep 24, 2014 at 11:12:06AM +0100, Lee Jones wrote:
> > > On Mon, 22 Sep 2014, Octavian Purdila wrote:
> > >
> > > > Currently the I/O buffer is allocated part of the device status
>
On Wed, Sep 24, 2014 at 3:26 PM, Johan Hovold wrote:
> On Wed, Sep 24, 2014 at 01:00:02PM +0100, Lee Jones wrote:
>> On Wed, 24 Sep 2014, Johan Hovold wrote:
>>
>> > On Wed, Sep 24, 2014 at 11:12:06AM +0100, Lee Jones wrote:
>> > > On Mon, 22 Sep 2014, Octavian Purdila wrote:
>> > >
>> > > > Curre
On Wed, Sep 24, 2014 at 03:34:08PM +0300, Octavian Purdila wrote:
> I can follow-up with a v3 3 patch series: first for the fix, second
> for the OOM & error path cleanup, third for devm conversion.
I'd include the error-path clean up bit in the devres conversion as that
is what it's really all a
On Fri, Sep 19, 2014 at 11:22:45PM +0300, Octavian Purdila wrote:
> +struct dln2_gpio {
> + struct platform_device *pdev;
> + struct gpio_chip gpio;
> +
> + /*
> + * Cache pin direction to save us one transfer, since the
> + * hardware has separate commands to read the in and
Hello Michal,
Am 24.09.2014 11:38, schrieb Michal Nazarewicz:
On Wed, Sep 24 2014, Heiko Schocher wrote:
use the values for RNDIS over Ethernet as defined in
http://www.usb.org/developers/defined_class
(search for RDNIS):
- baseclass: 0xef (miscellaneous)
- subclass: 0x04
- protocol: 0x01
wi
Hello Lars,
Am 24.09.2014 14:25, schrieb Lars Melin:
On 2014-09-24 13:48, Heiko Schocher wrote:
use the values for RNDIS over Ethernet as defined in
http://www.usb.org/developers/defined_class
(search for RDNIS):
- baseclass: 0xef (miscellaneous)
- subclass: 0x04
- protocol: 0x01
That is usb
This series aims at integrating configfs into uvc, the way
it has been done for acm, ncm, ecm, eem, ecm subset, rndis, obex, phonet,
mass_storage, FunctionFS, loopback, sourcesink, uac1 and uac2.
The preparation series is already on Felipe's next, so this series
in fact consists of a small prepara
When configfs is integrated, CONFIGFS_ATTR_STRUCT and CONFIGFS_ATTR_OPS
macros should be used, but the latter expects that tere is a to_f_uvc_opts
function accepting a config_item, whereas the macro being changed
can be applied to a different type of argument.
Signed-off-by: Andrzej Pietrasiewicz
Add support for using the uvc function as a component of USB gadgets composed
with configfs.
Signed-off-by: Andrzej Pietrasiewicz
---
Documentation/ABI/testing/configfs-usb-gadget-uvc | 264 +++
drivers/usb/gadget/Kconfig| 11 +
drivers/usb/gadget/function/Makefile
On Wednesday, September 24, 2014 11:00:37 AM Heikki Krogerus wrote:
> Most devices are configured for 32-bit DMA addresses.
> Setting the mask to 32-bit here removes the need for the
> drivers to do it separately.
>
> Signed-off-by: Heikki Krogerus
> Cc: "Rafael J. Wysocki"
ACK
> ---
> driver
On Wed, Sep 24, 2014 at 1:48 PM, Johan Hovold wrote:
> On Fri, Sep 19, 2014 at 11:22:42PM +0300, Octavian Purdila wrote:
>> + * dln2_dev.mod_rx_slots and then the echo header field to index the
>> + * slots field and find the receive context for a particular
>> + * request.
>> + */
>> +struct d
On Wed, Sep 24, 2014 at 04:36:22PM +0300, Octavian Purdila wrote:
> On Wed, Sep 24, 2014 at 1:48 PM, Johan Hovold wrote:
> > On Fri, Sep 19, 2014 at 11:22:42PM +0300, Octavian Purdila wrote:
>
>
>
> >> + * dln2_dev.mod_rx_slots and then the echo header field to index the
> >> + * slots field an
On 2014-09-24 20:12, Heiko Schocher wrote:
Hello Lars,
Am 24.09.2014 14:25, schrieb Lars Melin:
On 2014-09-24 13:48, Heiko Schocher wrote:
use the values for RNDIS over Ethernet as defined in
http://www.usb.org/developers/defined_class
(search for RDNIS):
- baseclass: 0xef (miscellaneous)
- s
On Wed, Sep 24, 2014 at 11:00:39AM +0300, Heikki Krogerus wrote:
> Adds ACPI ID used on newer Intel SoCs.
>
> Signed-off-by: Heikki Krogerus
> ---
> drivers/usb/dwc3/core.c | 10 ++
> 1 file changed, 10 insertions(+)
>
> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
> i
Hi,
On Tue, Sep 23, 2014 at 10:09:22AM +0200, Michal Sojka wrote:
> >> +/**
> >> + * usb_gadget_giveback_request - give the request back to the gadget layer
> >> + * Context: in_interrupt()
> >> + *
> >> + * This is called by device controller drivers in order to return the
> >> + * completed requ
On Tue, 23 Sep 2014, Michal Sojka wrote:
> >> +/**
> >> + * usb_gadget_giveback_request - give the request back to the gadget layer
> >> + * Context: in_interrupt()
> >> + *
> >> + * This is called by device controller drivers in order to return the
> >> + * completed request back to the gadget la
On Tue, 23 Sep 2014, Felipe Balbi wrote:
> Hi Alan,
>
> Need your help looking over this detail here. When I run g_mass_storage
> with stall=0 everything works fine. As soon as I remove it, things go
> bonkers.
>
> Looking at the bulk-only spec, I see:
>
> "6.7.2 Hi - Host expects to receive da
On Wed, Sep 24, 2014 at 4:54 PM, Johan Hovold wrote:
> On Wed, Sep 24, 2014 at 04:36:22PM +0300, Octavian Purdila wrote:
>> On Wed, Sep 24, 2014 at 1:48 PM, Johan Hovold wrote:
>> > On Fri, Sep 19, 2014 at 11:22:42PM +0300, Octavian Purdila wrote:
>>
>>
>>
>> >> + * dln2_dev.mod_rx_slots and the
On Wed, 24 Sep 2014, Mark Knibbs wrote:
> Hi,
>
> This follows on from something I mentioned in my recent post "[PATCH]
> storage: Don't scan target 7 for SCM USB-SCSI converters".
>
> In drivers/usb/storage/usb.c, usb_stor_control_thread():
> /* reject if target != 0 or if LUN is higher t
On Wed, Sep 24, 2014 at 05:54:15PM +0300, Octavian Purdila wrote:
> On Wed, Sep 24, 2014 at 4:54 PM, Johan Hovold wrote:
> > On Wed, Sep 24, 2014 at 04:36:22PM +0300, Octavian Purdila wrote:
> >> On Wed, Sep 24, 2014 at 1:48 PM, Johan Hovold wrote:
> >> > On Fri, Sep 19, 2014 at 11:22:42PM +0300,
On Wed, 24 Sep 2014, Alan Stern wrote:
> > Case (6) is when Hi == Di, looking at my logs, I have:
> >
> > 720 [ 286.843965] SCSI CDB: 1a 00 3f 00 c0 00
> > 721 [ 286.844000] g_mass_storage gadget: SCSI command: MODE SENSE(6);
> > Dc=6, Di=192; Hc=6, Hi=192
> > 722 [ 286.844018] g_mass_storag
Hi,
On Wed, Sep 24, 2014 at 11:05:58AM -0400, Alan Stern wrote:
> On Tue, 23 Sep 2014, Felipe Balbi wrote:
>
> > Hi Alan,
> >
> > Need your help looking over this detail here. When I run g_mass_storage
> > with stall=0 everything works fine. As soon as I remove it, things go
> > bonkers.
> >
>
On Wed, Sep 24, 2014 at 6:07 PM, Johan Hovold wrote:
> On Wed, Sep 24, 2014 at 05:54:15PM +0300, Octavian Purdila wrote:
>> On Wed, Sep 24, 2014 at 4:54 PM, Johan Hovold wrote:
>> > On Wed, Sep 24, 2014 at 04:36:22PM +0300, Octavian Purdila wrote:
>> >> On Wed, Sep 24, 2014 at 1:48 PM, Johan Hovo
On Wed, Sep 24, 2014 at 11:17:18AM -0400, Alan Stern wrote:
> On Wed, 24 Sep 2014, Alan Stern wrote:
>
> > > Case (6) is when Hi == Di, looking at my logs, I have:
> > >
> > > 720 [ 286.843965] SCSI CDB: 1a 00 3f 00 c0 00
> > > 721 [ 286.844000] g_mass_storage gadget: SCSI command: MODE SENSE(6
On Wed, Sep 24, 2014 at 10:30:17AM -0500, Felipe Balbi wrote:
> On Wed, Sep 24, 2014 at 11:17:18AM -0400, Alan Stern wrote:
> > On Wed, 24 Sep 2014, Alan Stern wrote:
> >
> > > > Case (6) is when Hi == Di, looking at my logs, I have:
> > > >
> > > > 720 [ 286.843965] SCSI CDB: 1a 00 3f 00 c0 00
On Wed, 24 Sep 2014, Mark Knibbs wrote:
> Hi,
>
> I did some benchmarks to check the maximum transfer rate of a USB-to-SCSI
> converter. The converter is USB 1.1, so limited to the 12Mbps full speed
> rate. The performance when connected to a USB 3.0 port is significantly
> worse than when connec
On Mon, 22 Sep 2014, Michal Simek wrote:
> Hi Alan and Greg,
>
> On 09/20/2014 06:19 AM, Chen Gang wrote:
> > Hello Maintainers:
> >
> > Please help check this patch, when you have time.
> >
> > Thanks.
> >
> > On 09/08/2014 01:20 PM, Michal Simek wrote:
> >> On 09/03/2014 05:50 PM, Chen Gang
On Wed, 24 Sep 2014, Felipe Balbi wrote:
> > Therefore stalling is appropriate. Why it causes it problem for your
> > system is a different matter. Is your UDC hardware capable of halting
> > bulk endpoints?
>
> yeah, that part is just fine; I also verified with my sniffer that bulk
> halt is
Hi,
On Wed, Sep 24, 2014 at 11:40:54AM -0400, Alan Stern wrote:
> On Wed, 24 Sep 2014, Felipe Balbi wrote:
>
> > > Therefore stalling is appropriate. Why it causes it problem for your
> > > system is a different matter. Is your UDC hardware capable of halting
> > > bulk endpoints?
> >
> > ye
This patch series adds a simple macro pm_runtime_last_busy_and_autosuspend()
which invokes pm_runtime_mark_last_busy() and pm_runtime_put_autosuspend()
sequentially. Then we do a tree wide update of current patterns which are
present. As evident from log below this pattern is frequent in the
kernel
Use the new pm_runtime_last_busy_and_autosuspend helper instead of open
coding the same code
Signed-off-by: Vinod Koul
---
drivers/usb/musb/omap2430.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index d36
Hi,
On Wed, Sep 24, 2014 at 11:20:31AM -0500, Felipe Balbi wrote:
> > > > > Therefore stalling is appropriate. Why it causes it problem for your
> > > > > system is a different matter. Is your UDC hardware capable of
> > > > > halting
> > > > > bulk endpoints?
> > > >
> > > > yeah, that part
Hi,
Regarding the patch I posted to prevent the bus scan of SCM USB-SCSI
converters attempting to scan the converter itself, there is probably a
neater way.
In drivers/scsi/scsi_scan.c, function __scsi_scan_target(), there is:
if (shost->this_id == id)
/*
On Tue, 23 Sep 2014, Greg Kroah-Hartman wrote:
> On Tue, Sep 23, 2014 at 10:28:49PM +, Scot Doyle wrote:
>> I'd like to change this error message:
>> [3.325837] usb 1-4: string descriptor 0 malformed (err = -61),
>> defaulting to 0x0409
>>
>> into an error message followed by a debug mess
On Wed, Sep 24, 2014 at 12:19:13PM -0500, Felipe Balbi wrote:
> Hi,
>
> On Wed, Sep 24, 2014 at 11:20:31AM -0500, Felipe Balbi wrote:
> > > > > > Therefore stalling is appropriate. Why it causes it problem for
> > > > > > your
> > > > > > system is a different matter. Is your UDC hardware capa
On Wed, 24 Sep 2014, Felipe Balbi wrote:
> > I'll capture usbmon and send here shortly.
>
> here it is... Interesting part starts at line 73 (114 on this email)
> where the data transport received EPIPE (due to Stall). This time
> however, I was eventually able to talk to the device and managed t
On Wed, 24 Sep 2014, Felipe Balbi wrote:
> so here's sequence of events so far:
>
> - Enumration goes fine
> - Get Max Lun -> 0 (single lun)
> - Inquiry -> Passed
> - Test Unit Ready -> Failed
> - Request Sense (Unit Attentio
On Tue, 23 Sep 2014, Greg Kroah-Hartman wrote:
On Tue, Sep 23, 2014 at 07:12:40PM +, Scot Doyle wrote:
According to commit 0cce2eda19923e5e5ccc8b042dec5af87b3ffad0
USB: fix LANGID=0 regression
usb devices are not required to report string descriptors. Since they are
optional, log an inf
Hi,
On Wed, Sep 24, 2014 at 01:56:21PM -0400, Alan Stern wrote:
> On Wed, 24 Sep 2014, Felipe Balbi wrote:
>
> > so here's sequence of events so far:
> >
> > - Enumration goes fine
> > - Get Max Lun -> 0 (single lun)
> > - Inquiry -> Passed
On Wed, Sep 24, 2014 at 01:53:31PM -0400, Alan Stern wrote:
> On Wed, 24 Sep 2014, Felipe Balbi wrote:
>
> > > I'll capture usbmon and send here shortly.
> >
> > here it is... Interesting part starts at line 73 (114 on this email)
> > where the data transport received EPIPE (due to Stall). This t
Hi Felipe and all,
The musb driver musb_host_tx() has the following:
1244 /* with CPPI, DMA sometimes triggers "extra" irqs */
1245 if (!urb) {
1246 dev_dbg(musb->controller, "extra TX%d ready, csr
%04x\n", epnum, tx_csr);
1247 return;
1248
hello.
On 09/24/2014 09:11 AM, Greg KH wrote:
From: Antoine Tenart
The USB PHY member of the HCD structure is renamed to 'usb_phy' and
modifications are done in all drivers accessing it.
This is in preparation to adding the generic PHY support.
Signed-off-by: Antoine Tenart
[Sergei: add
Hello.
This patchset is against the usb-next' branch of Greg KH's 'usb.git' repo.
Here I add support for the generic PHY to the 'struct usb_hcd' (having to
rename the existing 'phy' field to 'usb_phy' beforehand). This was mainly
intended to be used with the PCI OHCI/EHCI drivers and also xHCI
From: Antoine Tenart
The USB PHY member of the HCD structure is renamed to 'usb_phy' and
modifications are done in all drivers accessing it.
This is in preparation to adding the generic PHY support.
Signed-off-by: Antoine Tenart
[Sergei: added missing 'drivers/usb/misc/lvstest.c' file, resolved
Add the generic PHY support, analogous to the USB PHY support. Intended it to be
used with the PCI EHCI/OHCI drivers and the xHCI platform driver.
Signed-off-by: Sergei Shtylyov
Signed-off-by: Yoshihiro Shimoda
---
Changes in version 5:
- renamed the new 'gen_phy' field of 'struct usb_phy' back
Hi,
On Wed, Sep 24, 2014 at 01:08:15PM -0500, Felipe Balbi wrote:
> On Wed, Sep 24, 2014 at 01:53:31PM -0400, Alan Stern wrote:
> > On Wed, 24 Sep 2014, Felipe Balbi wrote:
> >
> > > > I'll capture usbmon and send here shortly.
> > >
> > > here it is... Interesting part starts at line 73 (114 on
Hi,
On Wed, Sep 24, 2014 at 02:18:14PM -0500, Felipe Balbi wrote:
> On Wed, Sep 24, 2014 at 01:08:15PM -0500, Felipe Balbi wrote:
> > On Wed, Sep 24, 2014 at 01:53:31PM -0400, Alan Stern wrote:
> > > On Wed, 24 Sep 2014, Felipe Balbi wrote:
> > >
> > > > > I'll capture usbmon and send here shortl
On Wed, Sep 24, 2014 at 11:05:50PM +0400, Sergei Shtylyov wrote:
> From: Antoine Tenart
>
> The USB PHY member of the HCD structure is renamed to 'usb_phy' and
> modifications are done in all drivers accessing it.
> This is in preparation to adding the generic PHY support.
>
> Signed-off-by: Ant
Hello.
On 09/24/2014 11:28 PM, Felipe Balbi wrote:
From: Antoine Tenart
The USB PHY member of the HCD structure is renamed to 'usb_phy' and
modifications are done in all drivers accessing it.
This is in preparation to adding the generic PHY support.
Signed-off-by: Antoine Tenart
[Sergei
On Wed, 24 Sep 2014, Felipe Balbi wrote:
> > > According to the kerneldoc for usb_ep_set_halt:
> > >
> > > * Attempts to halt IN endpoints will fail (returning -EAGAIN) if any
> > > * transfer requests are still queued, or if the controller hardware
> > > * (usually a FIFO) still holds bytes t
On Wed, Sep 24, 2014 at 03:31:13PM -0400, Alan Stern wrote:
> On Wed, 24 Sep 2014, Felipe Balbi wrote:
>
> > > > According to the kerneldoc for usb_ep_set_halt:
> > > >
> > > > * Attempts to halt IN endpoints will fail (returning -EAGAIN) if any
> > > > * transfer requests are still queued, or
On Wed, Sep 24, 2014 at 11:31:11PM +0400, Sergei Shtylyov wrote:
> Hello.
>
> On 09/24/2014 11:28 PM, Felipe Balbi wrote:
>
> >>From: Antoine Tenart
>
> >>The USB PHY member of the HCD structure is renamed to 'usb_phy' and
> >>modifications are done in all drivers accessing it.
> >>This is in p
Hi Felipe and Linus,
As you requested, Felipe, I made the translation for the driver's
probing from gpio to gpio_desc. Even if the code is functional, I'm
pretty unhappy about my patch 1, because I lost the "active_low"
notion in the transformation.
I have not found in the gpiolib anything for a
For this preparation, a preliminary cleanup is done :
- convert the probing of pxa27x_udc to gpio_desc.
The conversion is partial because :
- the platform data still provides a gpio number, not a gpio desc
- the "invert" attribute is lost, hence a loss in the translation
- convert
Add support for device-tree device discovery. If devicetree is not
provided, fallback to legacy platform data "discovery".
Signed-off-by: Robert Jarzmik
Cc: devicet...@vger.kernel.org
---
Since V1: change OF id mrvl,pxa27x_udc -> marvell,pxa27x-udc
This is a consequence of other DT rev
On Wed, 24 Sep 2014, Felipe Balbi wrote:
> > alright fixed. Below you can see a combined diff which I'll still split
> > into patches so they can be applied properly.
>
> OTOH, there's really no way to split it. It's all needed to fix a single
> bug. Do you want me to add Reported-by: Alan Stern
On Wed, Sep 24, 2014 at 03:48:29PM -0400, Alan Stern wrote:
> On Wed, 24 Sep 2014, Felipe Balbi wrote:
>
> > > alright fixed. Below you can see a combined diff which I'll still split
> > > into patches so they can be applied properly.
> >
> > OTOH, there's really no way to split it. It's all need
On Wed, Sep 24, 2014 at 09:41:12PM +0200, Robert Jarzmik wrote:
> For this preparation, a preliminary cleanup is done :
> - convert the probing of pxa27x_udc to gpio_desc.
> The conversion is partial because :
> - the platform data still provides a gpio number, not a gpio desc
> - t
On Wed, Sep 24, 2014 at 02:40:12PM -0500, Felipe Balbi wrote:
> On Wed, Sep 24, 2014 at 03:31:13PM -0400, Alan Stern wrote:
> > On Wed, 24 Sep 2014, Felipe Balbi wrote:
> >
> > > > > According to the kerneldoc for usb_ep_set_halt:
> > > > >
> > > > > * Attempts to halt IN endpoints will fail (re
On Wednesday, September 24, 2014 09:44:50 PM Vinod Koul wrote:
> This patch series adds a simple macro pm_runtime_last_busy_and_autosuspend()
> which invokes pm_runtime_mark_last_busy() and pm_runtime_put_autosuspend()
> sequentially. Then we do a tree wide update of current patterns which are
> pr
On Wed, Sep 24, 2014 at 03:06:15PM -0500, Felipe Balbi wrote:
> On Wed, Sep 24, 2014 at 02:40:12PM -0500, Felipe Balbi wrote:
> > On Wed, Sep 24, 2014 at 03:31:13PM -0400, Alan Stern wrote:
> > > On Wed, 24 Sep 2014, Felipe Balbi wrote:
> > >
> > > > > > According to the kerneldoc for usb_ep_set_h
1 - 100 of 134 matches
Mail list logo