Re: [PATCH] usb: gadget: Check for NULL pointer in disconnect

2015-03-22 Thread Peter Chen
On Fri, Mar 20, 2015 at 04:40:52PM -0700, Badhri Jagan Sridharan wrote: Added a safety net to make sure that composite_disconnect does not end up disconneting a NULL device. Prevents NULL pointer crash. Signed-off-by: Badhri Jagan Sridharan bad...@google.com ---

[GIT PULL] USB driver fixes for 4.0-rc5

2015-03-22 Thread Greg KH
The following changes since commit 9eccca0843205f87c00404b663188b88eb248051: Linux 4.0-rc3 (2015-03-08 16:09:09 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.0-rc5 for you to fetch changes up to

External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-22 Thread Marc Joliet
Hello First off, I would like to clarify that I was redirected here from gentoo-user (see my thread at http://archives.gentoo.org/gentoo-user/message/5677e2044aba73c5ac046a2a634f801a). If this is the wrong list for issues like this, please direct me to the proper place. Also, while I searched

Re: External USB3 HDD: logical sector size incorrectly detected on first connect

2015-03-22 Thread Alan Stern
On Sun, 22 Mar 2015, Marc Joliet wrote: Hello First off, I would like to clarify that I was redirected here from gentoo-user (see my thread at http://archives.gentoo.org/gentoo-user/message/5677e2044aba73c5ac046a2a634f801a). If this is the wrong list for issues like this, please direct me

Good Day

2015-03-22 Thread Tom West
Good day Friend, I wish to solicit your assistance to received an investment profit funds worth Ten million seven hundred fifty thousand POUNDS (£10,750.000.00) from my Bank. I wish to seek your consent before sending more details, this a genuine and I hope it this will be appeal to you. contact

Re: keyboard/trackpad combo unusable on MacBookPro4,1 with bcm5974.ko

2015-03-22 Thread Christian Böhme
Jiri Slaby jirislaby@... writes: It would be helpful to see who is actually bound to the two interfaces of the device. What's the output of readlink /sys/bus/usb/devices/≤device:1.*/driver for the corresponding device? The mouse should be handled by bcm5974, the other by usbhid (and by

Re: keyboard/trackpad combo unusable on MacBookPro4,1 with bcm5974.ko

2015-03-22 Thread Christian Böhme
Alan Stern stern@... writes: I came back to this old email today, and it turns out that usbhid_probe() already includes the following lines: if (intf-cur_altsetting-desc.bInterfaceProtocol == USB_INTERFACE_PROTOCOL_MOUSE) hid-type =

[PATCH 0/2] Allow twl4030_charger to find phy reliably.

2015-03-22 Thread NeilBrown
The twl4030_charger is physically paired with the twl4030 USB phy, so the drivers need to be able to reliably find each other. twl4030_charger currently uses usb_get_phy(), which works if there is only one phy to choose from, but is not reliable in more complex configurations. These patches add

[PATCH 1/2] usb: phy: Add interface to get phy give of device_node.

2015-03-22 Thread NeilBrown
From: NeilBrown ne...@suse.de Split the get phy from device_node functionality out of get phy by phandle so it can be used directly. This is useful when a battery-charger is intimately associated with a particular phy but handled by a separate driver. The charger can find the device_node based

[PATCH 2/2] twl4030_charger: find associated phy by more reliable means.

2015-03-22 Thread NeilBrown
From: NeilBrown ne...@suse.de twl4030_charger currently finds the associated phy using usb_get_phy() which will return the first USB2 phy. If your platform has multiple such phys (as mine does), this is not reliable (and reliably fails on the GTA04). Change to use devm_usb_get_phy_by_node(),

Re: keyboard/trackpad combo unusable on MacBookPro4,1 with bcm5974.ko

2015-03-22 Thread Alan Stern
On Sun, 22 Mar 2015, Christian Böhme wrote: Alan Stern stern@... writes: I came back to this old email today, and it turns out that usbhid_probe() already includes the following lines: if (intf-cur_altsetting-desc.bInterfaceProtocol ==

Re: Errata for Freescale root-hub TT?

2015-03-22 Thread Peter Chen
On Sat, Mar 21, 2015 at 10:12:46AM -0400, Alan Stern wrote: On Sat, 21 Mar 2015, Peter Chen wrote: On Fri, Mar 20, 2015 at 10:16:49AM -0400, Alan Stern wrote: Peter: Are there any known errata for the root-hub Transaction Translator in the Freescale host controllers? When