30 Oct, 2012
1 commit
-
This pulls in all of the USB changes in 3.7-rc3 into usb-next and
resolves the merge issue with:
drivers/usb/misc/ezusb.cSigned-off-by: Greg Kroah-Hartman
25 Oct, 2012
1 commit
-
When the ezusb code was split out, support was added for the fx2 chip
type, but no one is using these functions, so comment it out. If
someone needs it, it can be added back in the future.Also properly include into the ezusb.c file, to
ensure we catch any function prototype mis-matchesReported-by: Fengguang Wu
Cc: René Bürgel
Signed-off-by: Greg Kroah-Hartman
24 Oct, 2012
1 commit
-
ezusb: module license 'unspecified' taints kernel
Signed-off-by: Dave Jones
Signed-off-by: Greg Kroah-Hartman
27 Sep, 2012
1 commit
-
This patch
- moves drivers/usb/serial/ezusb.c to drivers/usb/misc/
- renamed CONFIG_USB_EZUSB to CONFIG_USB_EZUSB_FX2 to avoid build errors
- adapts Makefiles and Kconfigs switching from bool to tristate for CONFIG_USB_EZUSB_FX2Signed-off-by: René Bürgel
Signed-off-by: Greg Kroah-Hartman
14 Sep, 2012
1 commit
-
removes unnecessary semicolon
Found by Coccinelle: http://coccinelle.lip6.fr/
Signed-off-by: Peter Senna Tschudin
Signed-off-by: Greg Kroah-Hartman
27 Aug, 2012
1 commit
-
This picks up fixes that we need in this branch for testing.
Signed-off-by: Greg Kroah-Hartman
18 Aug, 2012
1 commit
-
This structure needs to always stick around, even if CONFIG_HOTPLUG
is disabled, otherwise we can oops when trying to probe a device that
was added after the structure is thrown away.Thanks to Fengguang Wu and Bjørn Mork for tracking this issue down.
Reported-by: Fengguang Wu
Reported-by: Bjørn Mork
Cc: stable
CC: Paul Gortmaker
CC: Andrew Morton
CC: Felipe Balbi
Signed-off-by: Greg Kroah-Hartman
16 Aug, 2012
1 commit
-
"udev" can't be NULL here. The debugging printk() makes static checkers
complain when we dereference it later in the function inside the call to
usb_rcvctrlpipe().Signed-off-by: Dan Carpenter
Signed-off-by: Greg Kroah-Hartman
02 May, 2012
7 commits
-
dbg() was a very old USB-specific macro that should no longer
be used. This patch removes it from being used in the driver
and uses dev_dbg() instead.CC: Tomoki Sekiyama
Signed-off-by: Greg Kroah-Hartman -
dbg() was a very old USB-specific macro that should no longer
be used. This patch removes it from being used in the driver
and uses dev_dbg() instead.Signed-off-by: Greg Kroah-Hartman
-
dbg() was a very old USB-specific macro that should no longer
be used. This patch removes it from being used in the driver
and uses dev_dbg() instead.CC: Zack Parsons
CC: Kuninori Morimoto
CC: Sarah Sharp
CC: Felipe Balbi
Signed-off-by: Greg Kroah-Hartman -
dbg() was a very old USB-specific macro that should no longer
be used. This patch removes it from being used in the driver
and uses dev_dbg() instead.CC: Cesar Miquel
Signed-off-by: Greg Kroah-Hartman -
dbg() was a very old USB-specific macro that should no longer
be used. This patch removes it from being used in the driver
and uses dev_dbg() instead.CC: Kuninori Morimoto
CC: Sarah Sharp
CC: Felipe Balbi
Signed-off-by: Greg Kroah-Hartman -
dbg() was a very old USB-specific macro that should no longer
be used. This patch removes it from being used in the driver
and uses dev_dbg() instead.CC: Andrew Morton
CC: Eric Dumazet
CC: Mike Frysinger
CC: Arun Sharma
Signed-off-by: Greg Kroah-Hartman -
bMaxPacketSize0 field for super speed is a power of 2, not a count.
The size itself is always 512.Max packet size for a super speed bulk endpoint is 1024, so
allocate the urb size in halt_simple() accordingly.Signed-off-by: Paul Zimmerman
Acked-by: Felipe Balbi
Cc: stable
Signed-off-by: Greg Kroah-Hartman
23 Apr, 2012
1 commit
-
This resolves the conflict in:
drivers/usb/host/ehci-fsl.c
And picks up loads of xhci bugfixes to make it easier for others to test
with.Signed-off-by: Greg Kroah-Hartman
21 Apr, 2012
10 commits
-
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.Signed-off-by: Greg Kroah-Hartman
-
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.Signed-off-by: Greg Kroah-Hartman
-
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.CC: Zack Parsons
CC: Kuninori Morimoto
CC: Sarah Sharp
CC: Felipe Balbi
Signed-off-by: Greg Kroah-Hartman -
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.CC: Cesar Miquel
Signed-off-by: Greg Kroah-Hartman -
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.CC: Juergen Stuber
Signed-off-by: Greg Kroah-Hartman -
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.CC: Michael Hund
CC: Kuninori Morimoto
CC: Sarah Sharp
CC: Felipe Balbi
Signed-off-by: Greg Kroah-Hartman -
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.CC: Rusty Russell
CC: Kuninori Morimoto
CC: Mauro Carvalho Chehab
CC: Sarah Sharp
Signed-off-by: Greg Kroah-Hartman -
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.CC: Kuninori Morimoto
CC: Sarah Sharp
CC: Felipe Balbi
Signed-off-by: Greg Kroah-Hartman -
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.CC: Paul Gortmaker
CC: Andrew Morton
CC: Felipe Balbi
Signed-off-by: Greg Kroah-Hartman -
err() was a very old USB-specific macro that I thought had
gone away. This patch removes it from being used in the
driver and uses dev_err() instead.CC: Paul Gortmaker
CC: Andrew Morton
CC: Felipe Balbi
Signed-off-by: Greg Kroah-Hartman
19 Apr, 2012
3 commits
-
Current probing code is setting URB_NO_TRANSFER_DMA_MAP flag into a wrong urb
structure, and this causes BUG_ON with some USB host implementations.
This patch fixes the issue.Signed-off-by: Tomoki Sekiyama
Cc: stable
Signed-off-by: Greg Kroah-Hartman -
Removes allocation of coherent buffer for the control-request setup-packet
buffer from the yurex driver. Using coherent buffers for setup-packet is
obsolete and does not work with some USB host implementations.Signed-off-by: Tomoki Sekiyama
Cc: stable
Signed-off-by: Greg Kroah-Hartman -
Free the two previously allocated buffers before exiting the function in an
error case.Signed-off-by: Julia Lawall
Signed-off-by: Greg Kroah-Hartman
18 Apr, 2012
2 commits
-
A large `nents' from userspace could overflow the allocation size,
leading to memory corruption.| alloc_sglist()
| usbtest_ioctl()Use kmalloc_array() to avoid the overflow.
Signed-off-by: Xi Wang
Acked-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman -
Avoid overflowing context.count = param->sglen * param->iterations,
where both `sglen' and `iterations' are from userspace.| test_ctrl_queue()
| usbtest_ioctl()Keep -EOPNOTSUPP for error code.
Signed-off-by: Xi Wang
Acked-by: Alan Stern
Signed-off-by: Greg Kroah-Hartman
25 Jan, 2012
2 commits
-
This changes the max length for the usb seven segment delcom device to 8
from 6. Delcom has both 6 and 8 variants and having 8 works fine with
devices which are only 6.Signed-off-by: Harrison Metzger
Signed-off-by: Stuart Pook
Cc: stable
Signed-off-by: Greg Kroah-Hartman -
drivers/usb/misc/emi26.c:40: warning: 'emi26_init' declared 'static' but never defined
drivers/usb/misc/emi26.c:41: warning: 'emi26_exit' declared 'static' but never defined
drivers/usb/misc/emi62.c:49: warning: 'emi62_init' declared 'static' but never defined
drivers/usb/misc/emi62.c:50: warning: 'emi62_exit' declared 'static' but never definedSigned-off-by: Andrew Morton
Signed-off-by: Paul Gortmaker
Signed-off-by: Felipe Balbi
Signed-off-by: Greg Kroah-Hartman
13 Jan, 2012
1 commit
-
module_param(bool) used to counter-intuitively take an int. In
fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.It's time to remove the int/unsigned int option. For this version
it'll simply give a warning, but it'll break next kernel version.Acked-by: Mauro Carvalho Chehab
Signed-off-by: Rusty Russell
11 Jan, 2012
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: (68 commits)
hid-input/battery: add FEATURE quirk
hid-input/battery: remove battery_val
hid-input/battery: power-supply type really *is* a battery
hid-input/battery: make the battery setup common for INPUTs and FEATUREs
hid-input/battery: deal with both FEATURE and INPUT report batteries
hid-input/battery: add quirks for battery
hid-input/battery: remove apparently redundant kmalloc
hid-input: add support for HID devices reporting Battery Strength
HID: hid-multitouch: add support 9 new Xiroku devices
HID: multitouch: add support for 3M 32"
HID: multitouch: add support of Atmel multitouch panels
HID: usbhid: defer LED setting to a workqueue
HID: usbhid: hid-core: submit queued urbs before suspend
HID: usbhid: remove LED_ON
HID: emsff: use symbolic name instead of hardcoded PID constant
HID: Enable HID_QUIRK_MULTI_INPUT for Trio Linker Plus II
HID: Kconfig: fix syntax
HID: introduce proper dependency of HID_BATTERY on POWER_SUPPLY
HID: multitouch: support PixArt optical touch screen
HID: make parser more verbose about parsing errors by default
...Fix up rename/delete conflict in drivers/hid/hid-hyperv.c (removed in
staging, moved in this branch) and similarly for the rules for same file
in drivers/staging/hv/{Kconfig,Makefile}.
10 Jan, 2012
1 commit
-
* 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (232 commits)
USB: Add USB-ID for Multiplex RC serial adapter to cp210x.c
xhci: Clean up 32-bit build warnings.
USB: update documentation for usbmon
usb: usb-storage doesn't support dynamic id currently, the patch disables the feature to fix an oops
drivers/usb/class/cdc-acm.c: clear dangling pointer
drivers/usb/dwc3/dwc3-pci.c: introduce missing kfree
drivers/usb/host/isp1760-if.c: introduce missing kfree
usb: option: add ZD Incorporated HSPA modem
usb: ch9: fix up MaxStreams helper
USB: usb-skeleton.c: cleanup open_count
USB: usb-skeleton.c: fix open/disconnect race
xhci: Properly handle COMP_2ND_BW_ERR
USB: remove dead code from suspend/resume path
USB: add quirk for another camera
drivers: usb: wusbcore: Fix dependency for USB_WUSB
xhci: Better debugging for critical host errors.
xhci: Be less verbose during URB cancellation.
xhci: Remove debugging about ring structure allocation.
xhci: Remove debugging about toggling cycle bits.
xhci: Remove debugging for individual transfers.
...
09 Jan, 2012
1 commit
-
* 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (165 commits)
reiserfs: Properly display mount options in /proc/mounts
vfs: prevent remount read-only if pending removes
vfs: count unlinked inodes
vfs: protect remounting superblock read-only
vfs: keep list of mounts for each superblock
vfs: switch ->show_options() to struct dentry *
vfs: switch ->show_path() to struct dentry *
vfs: switch ->show_devname() to struct dentry *
vfs: switch ->show_stats to struct dentry *
switch security_path_chmod() to struct path *
vfs: prefer ->dentry->d_sb to ->mnt->mnt_sb
vfs: trim includes a bit
switch mnt_namespace ->root to struct mount
vfs: take /proc/*/mounts and friends to fs/proc_namespace.c
vfs: opencode mntget() mnt_set_mountpoint()
vfs: spread struct mount - remaining argument of next_mnt()
vfs: move fsnotify junk to struct mount
vfs: move mnt_devname
vfs: move mnt_list to struct mount
vfs: switch pnode.h macros to struct mount *
...
04 Jan, 2012
1 commit
-
both callers of device_get_devnode() are only interested in lower 16bits
and nobody tries to return anything wider than 16bit anyway.Signed-off-by: Al Viro
10 Dec, 2011
1 commit
-
We were sending data on the stack when uploading firmware, which causes
some machines fits, and is not allowed. Fix this by using the buffer we
already had around for this very purpose.Reported-by: Wouter M. Koolen
Tested-by: Wouter M. Koolen
Cc: stable
Signed-off-by: Greg Kroah-Hartman
27 Nov, 2011
1 commit
-
The BKL is a gonner.
Signed-off-by: Davidlohr Bueso
Signed-off-by: Greg Kroah-Hartman