On Friday, June 23, 2017 02:58:11 PM Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki
>
> pci_target_state() calls device_may_wakeup() which checks whether
> or not the device may wake up the system from sleep states, but
> pci_target_state() is used for runtime PM too.
>
> Since runtime PM is
I've been tinkering with developing a USB touchscreen gadget device on
a board using a Mentor USB peripheral controller (driver musb-hdrc).
The gadget I'm developing runs in userspace via gadgetfs. From what
I've been able to tell, there's no way to run multiple gadget devices
simultaneously using
So IMHO there are two cases
1. The configuration is fixed in the hardware - in which case we should
automatically set it in kernel, or from device tree.
2. The configuration is soft - in which case you need an ioctl you can
use on the port to change it - irrespective of whether sysfs also handles
Sorry for the long delay, Johan.
2017-06-01 9:20 GMT+02:00 Johan Hovold :
> [ +CC: media list ]
>
> On Wed, May 31, 2017 at 08:25:42PM +0200, Sebastian wrote:
>
> What is the lsusb -v output for your device? And have you successfully
> used this device with this driver before?
>
No, the device wa
Hello Lucky Winner,
After a random automated selection of email addresses over the Internet, your
email emerged as one of our special winners to receive $3,524,037.00 and is
attached to the following details:.
File
Category:.
Felipe:
On Thu, 29 Jun 2017, kernel test robot wrote:
> FYI, we noticed the following commit:
>
> commit: f16443a034c7aa359ddf6f0f9bc40d01ca31faea ("USB: gadgetfs, dummy-hcd,
> net2280: fix locking for callbacks")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>
> in
From: Al Cooper
> Sent: 28 June 2017 15:56
> On Wed, Jun 28, 2017 at 4:47 AM, David Laight wrote:
> >>
> >> temp = bdc_readl(bdc->regs, BDC_BDCSC);
> >> if ((temp & BDC_P64) &&
> >> !dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64))) {
> >> - dev_dbg(bd
4.12.0-rc7-next-20170629-10695-g3fb8ba638d53 #76
Hardware name: Generic DA850/OMAP-L138/AM18x
Backtrace:
[] (dump_backtrace) from [] (show_stack+0x18/0x1c)
r7:0009 r6: r5:bf3a19f0 r4:
[] (show_stack) from [] (dump_stack+0x20/0x28)
[] (dump_stack) from [] (__warn+0xdc
when unregistering the configfs driver on my beaglebone black (running
linux-4.12-rc6), this happens:
root@beaglebone:/sys/kernel/config/usb_gadget/g_ecm|0 # echo > UDC
[ 39.074784]
[ 39.076361] ==
[ 39.082815] WARNING: possible circular loc
On 29 June 2017 at 07:01, Stephen Warren wrote:
>
>
> Baolin,
>
> I have a question about the following commit:
>
> 511a36d2f357 "usb: gadget: Add the gserial port checking in gs_start_tx()"
>
>> When usb gadget is set gadget serial function, it will be crash in below
>> situation.
>>
>> It will c
Hello Li Yang,
The patch b504882da539: "USB: add Freescale high-speed USB SOC device
controller driver" from Apr 23, 2007, leads to the following Smatch
warning:
drivers/usb/gadget/udc/fsl_udc_core.c:917 fsl_ep_queue()
warn: variable dereferenced before check 'req' (see line 880)
Hi,
Jack Pham writes:
>> Jack Pham writes:
>> > On Wed, May 17, 2017 at 01:31:12PM +0300, Felipe Balbi wrote:
>> >> Some functions might want to have very, very long request queues. We
>> >> can't make any assumptions about how many requests we *are* able to
>> >> map, so instead of mapping req
A recent optimization was made so that a request put on the
pending_list wouldn't get mapped for DMA until just before
preparing a TRB for it. However, this poses a problem in case
the request is dequeued or the endpoint is disabled before the
mapping is done as that would lead to dwc3_gadget_giveb
Hi Felipe,
On Thu, Jun 29, 2017 at 08:48:17AM +0300, Felipe Balbi wrote:
> Hi Jack,
>
> Jack Pham writes:
> > On Wed, May 17, 2017 at 01:31:12PM +0300, Felipe Balbi wrote:
> >> Some functions might want to have very, very long request queues. We
> >> can't make any assumptions about how many req
On Wed, Jun 28, 2017 at 08:57:10PM +0200, Zaerc wrote:
>
> On 2017-06-27 10:00, Johan Hovold wrote:
>
> > Sure, thanks. I'll send you my address. I assume the firmware is free
> > software?
>
> Cool, you're welcome. As it's just a modified version of the LUFA
> USBtoSerial example project, it
Hi,
Minas Harutyunyan writes:
> It's reverting patch for commit "usb: dwc2: gadget:
> use ep->fifo_index in context of FIFO registers".
> DTXFSTSn indexation based on EP number not TxFIFO number.
>
> Signed-off-by: Minas Harutyunyan
have a look at 'git revert'
--
balbi
signature.asc
Descri
It's reverting patch for commit "usb: dwc2: gadget:
use ep->fifo_index in context of FIFO registers".
DTXFSTSn indexation based on EP number not TxFIFO number.
Signed-off-by: Minas Harutyunyan
---
drivers/usb/dwc2/gadget.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/
On 6/26/2017 9:55 PM, Jimmy Perchet wrote:
> Hello,
>
> According to DWC2 databook( 3.20a in my case), DTXFSTSn registers are
> indexed by endpoint number. This can be verified by comparing "fifo" and
> "regdump" in debugfs (as long as the configuration is not trivial).
> Therefore, in my humble op
18 matches
Mail list logo