summaryrefslogtreecommitdiff
path: root/drivers/input/mouse/sentelic.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2012-08-13 02:18:44 +0400
committerHenrik Rydberg <rydberg@euromail.se>2012-09-19 21:50:21 +0400
commit43f482b48d0322df7c0cc6f97d0ec7c77db6777b (patch)
tree42e678f056b16544a4b181a734d1f784ec70cd59 /drivers/input/mouse/sentelic.h
parent77723e3bc71a221a732a21700975c066a4ae06e2 (diff)
downloadlinux-43f482b48d0322df7c0cc6f97d0ec7c77db6777b.tar.xz
Input: bcm5974 - only setup button urb for TYPE1 devices
The early generations with this trackpad used the separate mouse interface to produce button events. With the introduction of the button pads, this information was moved to the trackpad interface, leaving the mouse interface unused. The driver is still setting up both interfaces, which has not caused any problems - until now. It turns out that without the CONFIG_USB_EHCI_TT_NEWSCHED option, the driver may return an ENOSPC upon bt_urb submission, resulting in a failure to open the device. This happens everytime on the MacBookPro Retina (and likely on other mid-2012 models), but earlier MacBook models seem to work fine. This patch skips the bt_urb setup for TYPE2 devices, which arguably should have been done in the first place. Tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'drivers/input/mouse/sentelic.h')
0 files changed, 0 insertions, 0 deletions