Re: gadgetfs broken since 7f7f25e8

2015-03-07 Thread Alexander Holler
Am 04.03.2015 um 16:31 schrieb Alan Stern: check to see what those values actually were. It's easy enough to fix up, though; revised patch below. Thanks, in contrast to the patch from Al Viro that one applies. I wonder if the patches in the (vfs-)tree he has used as base might fix some more

Re: [PATCH 0/5] TTY: fix tty_wait_until_sent on 64-bit machines

2015-03-07 Thread Greg Kroah-Hartman
On Wed, Mar 04, 2015 at 10:39:02AM +0100, Johan Hovold wrote: > This series fixes an overflow bug in tty_wait_until_sent, which is > currently broken on 64-bit machines for most TTY drivers (with > serial-core being the notable exception). > > The final patch makes the tty_wait_until_sent timeout

Re: [PATCH v2] extcon: otg_gpio: add driver for USB OTG port controlled by GPIO(s)

2015-03-07 Thread Linus Walleij
On Fri, Feb 20, 2015 at 9:40 PM, David Cohen wrote: > On Fri, Feb 20, 2015 at 02:00:26PM -0600, Felipe Balbi wrote: >> On Fri, Feb 20, 2015 at 11:59:27AM -0800, David Cohen wrote: >> > I'd need to lookup GPIOs via ACPI without requesting them on mfd driver >> > and then give them to children devi

Re: gadgetfs broken since 7f7f25e8

2015-03-07 Thread Alexander Holler
Am 07.03.2015 um 12:23 schrieb Alexander Holler: > Am 04.03.2015 um 16:31 schrieb Alan Stern: > >> check to see what those values actually were. It's easy enough to fix >> up, though; revised patch below. > > Thanks, in contrast to the patch from Al Viro that one applies. And as I've just teste

Re: [PATCH v2] extcon: otg_gpio: add driver for USB OTG port controlled by GPIO(s)

2015-03-07 Thread Linus Walleij
On Fri, Feb 20, 2015 at 8:17 PM, David Cohen wrote: > On Fri, Feb 20, 2015 at 10:53:44AM +0100, Linus Walleij wrote: >> I would put this adjacent to the phy driver somewhere in drivers/usb/* >> and make the actual USB-driver thing handle its GPIOs directly. >> But I guess David and Felipe have al

Re: gadgetfs broken since 7f7f25e8

2015-03-07 Thread Al Viro
On Sat, Mar 07, 2015 at 09:03:51PM +0100, Alexander Holler wrote: > Am 07.03.2015 um 12:23 schrieb Alexander Holler: > > Am 04.03.2015 um 16:31 schrieb Alan Stern: > > > >> check to see what those values actually were. It's easy enough to fix > >> up, though; revised patch below. > > > > Thanks,

Re: gadgetfs broken since 7f7f25e8

2015-03-07 Thread Alexander Holler
Am 07.03.2015 um 21:51 schrieb Al Viro: > On Sat, Mar 07, 2015 at 09:03:51PM +0100, Alexander Holler wrote: >> Am 07.03.2015 um 12:23 schrieb Alexander Holler: >>> Am 04.03.2015 um 16:31 schrieb Alan Stern: >>> check to see what those values actually were. It's easy enough to fix up, tho

Re: gadgetfs broken since 7f7f25e8

2015-03-07 Thread Alan Stern
On Sat, 7 Mar 2015, Alexander Holler wrote: > Am 07.03.2015 um 12:23 schrieb Alexander Holler: > > Am 04.03.2015 um 16:31 schrieb Alan Stern: > > > >> check to see what those values actually were. It's easy enough to fix > >> up, though; revised patch below. > > > > Thanks, in contrast to the p

[PATCH] usb gadget: remove size limitation for storage cdrom

2015-03-07 Thread Dave Young
I used usb cdrom emulation to play video dvd for my daughter, but I got below error: [dave@darkstar tmp]$ cat /mnt/sr1/VIDEO_TS/VTS_01_5.VOB >/dev/null cat: /mnt/sr1/VIDEO_TS/VTS_01_5.VOB: Input/output error [dave@darkstar tmp]$ dmesg|tail -1 [ 3349.371857] sr1: rw=0, want=8028824, limit=4607996