On 11/11/14 09:07, Greg Kroah-Hartman wrote:
Any reason this can't be a simple userspace program that writes the
needed command to the device using libusb instead of being a kernel
driver? This seems like overkill for a kernel driver to me.
You are probably right. It indeed should be possible
On Tue, Nov 11, 2014 at 09:05:06AM +0200, Lauri Niskanen wrote:
> ALVA Nanoface is a USB audio interface device that only works after
> receiving an initialization command. This driver does not handle any
> actual audio features, but only initializes the device enabling its
> audio I/O and physical
ALVA Nanoface is a USB audio interface device that only works after
receiving an initialization command. This driver does not handle any
actual audio features, but only initializes the device enabling its
audio I/O and physical controls. There are some additional USB audio
features on the device th
Hi,
On Friday 31 October 2014 06:03 PM, Vivek Gautam wrote:
> Hi Heikki,
>
>
> On Fri, Oct 17, 2014 at 8:09 PM, Heikki Krogerus
> wrote:
>> Removes the need for the phys to be aware of their users
>> even when not using DT. The method is copied from clkdev.c.
>>
>> Signed-off-by: Heikki Krogeru
On Mon, Nov 10, 2014 at 02:22:23PM -0500, David Miller wrote:
> From: Sudip Mukherjee
> Date: Fri, 7 Nov 2014 18:52:40 +0530
>
> > we were dereferencing dev to initialize pdata. but just after that we
> > have a BUG_ON(!dev). so we were basically dereferencing the pointer
> > first and then tesi
On Mon, Nov 10, 2014 at 06:09:34PM -0800, Stephanie Wallick wrote:
> +/**
> + * Returns the number of urbs currently in the MA USB HCD. Will return 0 if
> the
> + * MA USB HCD is empty or a negative errno if an error occurs.
How can this function return a negative number? I don't see that
codepa
On Mon, Nov 10, 2014 at 06:09:41PM -0800, Stephanie Wallick wrote:
> Signed-off-by: Sean O. Stalley
> Signed-off-by: Stephanie Wallick
No changelog entry?
> ---
> MAINTAINERS| 7 +++
> drivers/staging/Kconfig| 2 ++
> drivers/staging/Makefile
On Mon, Nov 10, 2014 at 06:09:36PM -0800, Stephanie Wallick wrote:
> +static int ma_open;
Why do you need this variable?
> +/**
> + * This function is used to open the device file in order to read/write
> + * from/to it.
> + *
> + * @inode: Struct with various information that is passed in when
On Mon, Nov 10, 2014 at 06:09:32PM -0800, Stephanie Wallick wrote:
> +static int mausb_bus_probe(struct device *dev)
> +{
> + return mausb_probe(dev);
> +}
> +
> +static int mausb_bus_remove(struct device *dev)
> +{
> + return mausb_remove(dev);
> +}
Wrapper functions that just call anothe
Hi Felipe,
On 10 November 2014 20:56, Felipe Balbi wrote:
> Hi,
>
> On Tue, Nov 04, 2014 at 03:30:54PM +0530, Kiran Kumar Raparthy wrote:
>> @@ -1469,6 +1484,7 @@ static int ab8500_usb_probe(struct platform_device
>> *pdev)
>>
>> abx500_usb_link_status_update(ab);
>>
>> + usb_phy_wsour
This is where we implement the behavior of a USB device controller for
the MA USB device-side driver. The MA UDC interfaces with a gadget driver
and appears to the driver as a regular UDC. However, instead of sending
USB packets over a wired USB bus, the MA UDC hands MA USB packets off to
a media s
This is where we implement USB 2.0 and 3.0 roothubs. From the host's
perspective, hub state is set and tracked just like any other USB roothub.
Likewise, requests to the roothub appear to be handled like any other wired
USB request.
Signed-off-by: Sean O. Stalley
Signed-off-by: Stephanie Wallick
This is where we interface with the existing USB stack and implement the
functionality of a USB host controller driver. From the host's perspective,
we appear as just another USB host controller. However, instead of passing
traffic along a wired USB bus, the driver hands USB packets off for transpo
The MA USB Specification outlines packet types and a protocol for
bulk and interrupt transfers. This is where we implement that protocol.
MA USB transfers are initiated by the host via a TransferRequest packet.
The host then either sends data to the device via subsequent
TransferRequest packets (OU
The Media Agnostic USB Specification outlines a number of managment
packet types for management and control functions. Each function is
initiated with a particular type of managment request packet and
completed with the corresponding management response packet. This
is where we fill the fields for
This is where we handle media specific packets and transport. The MS driver
interfaces with a media agnostic (MA) driver via a series of transfer pairs.
Transfer pairs consist of a set of functions to pass MA USB packets back
and forth between MA and MS drivers. There is one transfer pair per devic
Signed-off-by: Sean O. Stalley
Signed-off-by: Stephanie Wallick
---
MAINTAINERS| 7 +++
drivers/staging/Kconfig| 2 ++
drivers/staging/Makefile | 1 +
drivers/staging/mausb/Kconfig | 16
drivers/staging/ma
Adds various scripts for building, loading and unloading the MA USB
drivers and a utility that can be used for connecting and disconnecting
the host and device drivers.
Signed-off-by: Sean O. Stalley
Signed-off-by: Stephanie Wallick
---
drivers/staging/mausb/mausb-util/AUTHORS | 2 +
This is where we handle MA USB packets. The structure and types of MA USB
packets are defined in the MA USB specification. When an MA USB driver
receives a USB packet, it translates it into a MA USB packet (or packets
if urb exceeds maximum USB packet size). When an MA USB packet is received,
the d
This is where we create, store and handle endpoint and device structures
that are specific to the MA USB drivers. Each MA USB structure maps 1:1
with it's corresponding USB structure (e.g. there is one MA USB endpoint
per USB endpoint).
Signed-off-by: Sean O. Stalley
Signed-off-by: Stephanie Wall
On 11/10/2014 04:26 PM, Cong Wang wrote:
On Mon, Nov 10, 2014 at 11:51 AM, Alexander Duyck
wrote:
This patch implements __netdev_alloc_pages and __netdev_alloc_page. These
are meant to replace the __skb_alloc_pages and __skb_alloc_page functions.
The reason for doing this is that it occurred
On Mon, Nov 10, 2014 at 10:58:56AM -0800, Joe Perches wrote:
> Using the return value of seq_puts is error-prone, so
> make it return void instead.
Acked-by: Mark Brown
signature.asc
Description: Digital signature
On Mon, Nov 10, 2014 at 11:51 AM, Alexander Duyck
wrote:
> This patch implements __netdev_alloc_pages and __netdev_alloc_page. These
> are meant to replace the __skb_alloc_pages and __skb_alloc_page functions.
> The reason for doing this is that it occurred to me that __skb_alloc_page is
> suppos
* Felipe Balbi [141106 09:40]:
> Whenever Suspend PHY bit is set on AM437x devices,
> USB will not work due to Set EP Configuration command
> always failing.
>
> This was only found after a recent commit 2164a47 (usb:
> dwc3: set SUSPHY bit for all cores, which will be merged
> for v3.19) added a
musb registers can be dumped using the file regdump
which is created in debugfs. Up to now hard coded
register addresses are used for that. Different glue
layers however have different register addresses. The
patch addresses this issue by substituting bare register
addresses with defines.
Signed-
Hi Greg,
Here's another minor for v3.18-rc5. Please consider
merging to your usb-linus branch.
Tested with AM437x SK and testusb.
cheers
The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108:
Linux 3.18-rc4 (2014-11-09 14:55:29 -0800)
are available in the git repositor
commit 6856d30 (usb: dwc3: ep0: return early
on NULL requests) tried to fix a minor corner
case where we could dereference a NULL pointer
but it also ended up introducing some dead code.
Unfortunately, that dead code, if reached, could
end up starving the endpoint request list because
a request wo
This patch implements __netdev_alloc_pages and __netdev_alloc_page. These
are meant to replace the __skb_alloc_pages and __skb_alloc_page functions.
The reason for doing this is that it occurred to me that __skb_alloc_page is
supposed to be passed an sk_buff pointer, but it is NULL in all cases wh
Remove the two functions which are now dead code.
Signed-off-by: Alexander Duyck
---
include/linux/skbuff.h | 43 ---
1 file changed, 43 deletions(-)
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index f196628..e4acbca 100644
--- a/includ
Drop the bloated use of __skb_alloc_page and replace it with
__netdev_alloc_page. In addition update the one other spot that is
allocating a page so that it allocates with the correct flags.
Cc: Hariprasad S
Cc: Casey Leedom
Signed-off-by: Alexander Duyck
---
drivers/net/ethernet/chelsio/cxgb
This patch series replaces __skb_alloc_pages with a much simpler function,
__netdev_alloc_pages. The main difference between the two is that
__skb_alloc_pages had an sk_buff pointer that was being passed as NULL in
call places where it was called. In a couple of cases the NULL was passed
by varia
The Intel drivers were pretty much just using the plain vanilla GFP flags
in their calls to __skb_alloc_page so this change makes it so that they use
netdev_alloc_page which just uses GFP_ATOMIC for the gfp_flags value.
Cc: Jeff Kirsher
Cc: Matthew Vick
Cc: Don Skidmore
Signed-off-by: Alexander
Replace the calls to __skb_alloc_page that are passed NULL with calls to
__netdev_alloc_page.
Cc: Oliver Neukum
Cc: Felipe Balbi
Signed-off-by: Alexander Duyck
---
drivers/net/usb/cdc-phonet.c |2 +-
drivers/usb/gadget/function/f_phonet.c |2 +-
2 files changed, 2 insertions(
On Mon, Nov 10, 2014 at 07:31:23PM +0100, Roman Byshko wrote:
> musb registers can be dumped using the file regdump
> which is created in debugfs. Up to now hard coded
> register addresses are used for that. Different glue
> layers however have different register addresses. The
> patch addresses t
From: Sudip Mukherjee
Date: Fri, 7 Nov 2014 18:52:40 +0530
> we were dereferencing dev to initialize pdata. but just after that we
> have a BUG_ON(!dev). so we were basically dereferencing the pointer
> first and then tesing it for NULL.
>
> Signed-off-by: Sudip Mukherjee
You didn't even comp
These are error prone, so return void adn use seq_has_overflowed instead
Joe Perches (2):
seq_puts: Convert to return void and convert uses too.
seq_putc: Convert to return void and convert uses too.
drivers/char/ipmi/ipmi_msghandler.c| 4 +-
drivers/parisc/ccio-dma.c
Using the return value of seq_puts is error-prone, so
make it return void instead.
Use seq_has_overflowed where appropriate instead of the
old return value.
Signed-off-by: Joe Perches
---
drivers/parisc/ccio-dma.c | 7 ++--
drivers/regulator/dbx500-prcmu.c | 21 --
drivers/usb
musb registers can be dumped using the file regdump
which is created in debugfs. Up to now hard coded
register addresses are used for that. Different glue
layers however have different register addresses. The
patch addresses this issue by substituting bare register
addresses with defines.
Signed-
>> The contract for bus_suspend() is that it will suspend all ports not
>> yet suspended, keep track of those ports and then only resume those in
>> bus_resume() (compare, for example, how XHCI keeps track of that with
>> xhci_bus_state.bus_suspended in xhci_bus_suspend/resume()). So you
>> need so
> Please don't pull this -- it is missing a patch.
>
> Will fix.
Okay, dependency fixed. Sorry for the fuss. Pull when ready.
> > [Subject change -- in case you miss it]
> >
> > Linus, Wolfram,
> >
> > Enjoy!
> >
> > The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e
On Mon, 10 Nov 2014, Naveen Kumar Parna wrote:
> I am sorry for the late response.
>
> I applied the patch and here is the dmesg log:
>
> [ 713.125709] ehci-pci :00:1a.0: split intr info2 42821c01 token
> 80108d46 overlay token 80108d46
> [ 713.125796] ehci-pci :00:1a.0: split intr inf
Please don't pull this -- it is missing a patch.
Will fix.
> [Subject change -- in case you miss it]
>
> Linus, Wolfram,
>
> Enjoy!
>
> The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1:
>
> Linux 3.18-rc1 (2014-10-19 18:08:38 -0700)
>
> are available in the git r
On Mon, 10 Nov 2014, Octavian Purdila wrote:
> On Mon, Nov 10, 2014 at 5:10 PM, Lee Jones wrote:
> > Linus, Wolfram,
> >
> > Enjoy!
> >
> > The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1:
> >
> > Linux 3.18-rc1 (2014-10-19 18:08:38 -0700)
> >
> > are available in th
On Mon, Nov 10, 2014 at 5:10 PM, Lee Jones wrote:
> Linus, Wolfram,
>
> Enjoy!
>
> The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1:
>
> Linux 3.18-rc1 (2014-10-19 18:08:38 -0700)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kern
Hi,
On Tue, Nov 04, 2014 at 03:30:54PM +0530, Kiran Kumar Raparthy wrote:
> @@ -1469,6 +1484,7 @@ static int ab8500_usb_probe(struct platform_device
> *pdev)
>
> abx500_usb_link_status_update(ab);
>
> + usb_phy_wsource_init(&ab->phy);
instead of adding this to all drivers, you can
Hi,
On Fri, Nov 07, 2014 at 03:40:01PM +0200, Mathias Nyman wrote:
> On 07.11.2014 00:25, Felipe Balbi wrote:
> > On Thu, Nov 06, 2014 at 10:36:30AM -0600, Felipe Balbi wrote:
> >> On Thu, Nov 06, 2014 at 06:31:20PM +0200, Mathias Nyman wrote:
> >>> On 05.11.2014 21:28, Felipe Balbi wrote:
>
[Subject change -- in case you miss it]
Linus, Wolfram,
Enjoy!
The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1:
Linux 3.18-rc1 (2014-10-19 18:08:38 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
tags/ib
Linus, Wolfram,
Enjoy!
The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1:
Linux 3.18-rc1 (2014-10-19 18:08:38 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
tags/ib-mfd-gpio-i2c-v3.19
for you to fetch cha
On 10.11.2014 12:47, Kenneth Johansson wrote:
> So I have a problem that happens with 1-2 weeks interval in that the xhci
> driver confuses itself and thinks that the usb bus is overused or something.
>
> The thing is that this is an external usb 2 hub with 7 ports and all 7 is
> used for differ
Hcd controller needs bus_suspend/resume, dwc2 controller make
root hub generate suspend/resume signal with hprt0 register
when work in host mode.
After the root hub enter suspend, we can make controller enter
low power state with PCGCTL register.
We also update the lx_state for hsotg state.
This
On Sat, Nov 08, 2014 at 08:01:09 -0500,
Alan Stern wrote:
I'm not aware of any changes to ohci-hcd which would cause this to
happen. In fact, I'm not aware of any changes at all to the PCI
version of ohci-hcd in this development cycle.
I now believe this is a hardware problem. The specific
On Thu, 06 Nov 2014, 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 be found in the Progr
Hi Julius,
On 11/07/2014 06:11 AM, Julius Werner wrote:
On Wed, Nov 5, 2014 at 5:30 PM, Kever Yang wrote:
Hcd controller needs bus_suspend/resume, dwc2 controller make
root hub generate suspend/resume signal with hprt0 register
when work in host mode.
After the root hub enter suspend, we can m
So I have a problem that happens with 1-2 weeks interval in that the
xhci driver confuses itself and thinks that the usb bus is overused or
something.
The thing is that this is an external usb 2 hub with 7 ports and all 7
is used for different devices. I do a suspend/resume once a day and
tha
To expand DnFIFOs in the future, this patch standardizes the d{0,1}fifo
control using new macros.
Signed-off-by: Yoshihiro Shimoda
---
drivers/usb/renesas_usbhs/fifo.c | 70 +-
drivers/usb/renesas_usbhs/fifo.h |5 +++
2 files changed, 37 insertions(+), 3
To extend DnFIFOs in the future, this patch adds a new macro because
some SoCs don't the "port" address for DnFIFOs.
Signed-off-by: Yoshihiro Shimoda
---
drivers/usb/renesas_usbhs/fifo.c |9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/renesas_usbhs/fif
This patch serias expands USB-DMAC channels for R-Car Gen2 SoCs.
- First 3 patches are clean-up source codes.
- Last patch is expanded the channels.
This patch serias is based on Felipe's usb.git / testing/next branch.
(commit id: 83ef5086ad00ac5d9068d6b574bc660659e1f135)
Yoshihiro Shimoda (4):
This patch expands USB-DMAC channels for R-Car Gen2 SoCs. The SoCs
have 4 channels. If d{2,3}_{t,x}x_id are not set, this driver never
uses the expanded USB-DMAC channels.
Signed-off-by: Yoshihiro Shimoda
---
drivers/usb/renesas_usbhs/common.h |4
drivers/usb/renesas_usbhs/fifo.c |
To extend DnFIFOs in the future, this patch changes d{0,1}fifo of
usbhs_fifo_info to dfifo array.
Signed-off-by: Yoshihiro Shimoda
---
drivers/usb/renesas_usbhs/fifo.c |4 ++--
drivers/usb/renesas_usbhs/fifo.h |4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/driver
Your partnership is needed for a profitable business transaction involving huge
amounts of fund please contact me for more details.
---
Uw partnerschap is nodig voor een winstgevende business transactie waarbij
enorme hoeveelheden fonds ku
On Thu, Nov 6, 2014 at 10:14 PM, Alan Stern wrote:
> On Thu, 6 Nov 2014, Naveen Kumar Parna wrote:
>
>> > Any idea why you see the CSPLITs now but didn't see them before?
>>
>> It looks like , I failed to locate the exact portion of the analyzer
>> log that corresponds to one of those -32 events i
On Fri, Nov 07, 2014 at 11:26:11PM -0600, Preston Fick wrote:
> Signed-off-by: Preston Fick
> ---
> drivers/usb/serial/cp210x.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
> index cfd009d..6c4eb3c 100644
> --- a/drivers/usb/s
62 matches
Mail list logo