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
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-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (53 commits)
Kconfig: acpi: Fix typo in comment.
misc latin1 to utf8 conversions
devres: Fix a typo in devm_kfree comment
btrfs: free-space-cache.c: remove extra semicolon.
fat: Spelling s/obsolate/obsolete/g
SCSI, pmcraid: Fix spelling error in a pmcraid_err() call
tools/power turbostat: update fields in manpage
mac80211: drop spelling fix
types.h: fix comment spelling for 'architectures'
typo fixes: aera -> area, exntension -> extension
devices.txt: Fix typo of 'VMware'.
sis900: Fix enum typo 'sis900_rx_bufer_status'
decompress_bunzip2: remove invalid vi modeline
treewide: Fix comment and string typo 'bufer'
hyper-v: Update MAINTAINERS
treewide: Fix typos in various parts of the kernel, and fix some comments.
clockevents: drop unknown Kconfig symbol GENERIC_CLOCKEVENTS_MIGR
gpio: Kconfig: drop unknown symbol 'CS5535_GPIO'
leds: Kconfig: Fix typo 'D2NET_V2'
sound: Kconfig: drop unknown symbol ARCH_CLPS7500
...Fix up trivial conflicts in arch/powerpc/platforms/40x/Kconfig (some new
kconfig additions, close to removed commented-out old ones)
06 Jan, 2012
1 commit
-
Hi, below patch adds the USB-ID of the serial adapters sold by
Multiplex RC (www.multiplex-rc.de).Signed-off-by: Malte Schröder
Cc: stable
Signed-off-by: Greg Kroah-Hartman
05 Jan, 2012
1 commit
-
Add support for Chinese Noname HSPA USB modem which is apparently
manufactured by a company called ZD Incorporated (based on texts in the
Windows drivers).This product is available at least from Dealextreme (SKU 80032) and
possibly in India with name Olive V-MW250. It is based on Qualcomm
MSM6280 chip.I needed to also add "options usb-storage quirks=0685:7000:i" in modprobe
configuration because udevd or the kernel keeps poking the embedded
fake-cd-rom which fails and causes the device to reset. There might be
a better way to accomplish the same. usb_modeswitch is not needed with
this device.Signed-off-by: Janne Snabb
Cc: stable
Signed-off-by: Greg Kroah-Hartman
02 Jan, 2012
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: Jiri Kosina
14 Dec, 2011
1 commit
-
Huawei use the product code HUAWEI_PRODUCT_E353 (0x1506) for a
number of different devices, which each can appear with a number
of different descriptor sets. Different types of interfaces
can be identified by looking at the subclass and protocol fieldsSubclass 1 protocol 8 is actually the data interface of a CDC
ECM set, with subclass 1 protocol 9 as the control interface.
Neither support serial data communcation, and cannot therefore
be supported by this driver.At the same time, add a few other sets which appear if the
device is configured in "Windows mode" using this modeswitch
message:
55534243000000000000000000000011060000000100000000000000000000Signed-off-by: Bjørn Mork
Cc: stable
Signed-off-by: Greg Kroah-Hartman
13 Dec, 2011
2 commits
-
…lbi/usb into usb-next
* 'for-next/dwc3' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb: (392 commits)
usb: dwc3: ep0: fix for possible early delayed_status
usb: dwc3: gadget: fix stream enable bit
usb: dwc3: ep0: fix GetStatus handling (again)
usb: dwc3: ep0: use dwc3_request for ep0 requsts instead of usb_request
usb: dwc3: use correct hwparam register for power mgm check
usb: dwc3: omap: move to module_platform_driver
usb: dwc3: workaround: missing disconnect event
usb: dwc3: workaround: missing USB3 Reset event
usb: dwc3: workaround: U1/U2 -> U0 transiton
usb: dwc3: gadget: return early in dwc3_cleanup_done_reqs()
usb: dwc3: ep0: handle delayed_status again
usb: dwc3: ep0: push ep0state into xfernotready processing
usb: dwc3: fix sparse errors
usb: dwc3: fix few coding style problems
usb: dwc3: move generic dwc3 code from gadget into core
usb: dwc3: use a helper function for operation mode setting
usb: dwc3: ep0: don't use ep0in for transfers
usb: dwc3: ep0: use proper endianess in SetFeature for wIndex
usb: dwc3: core: drop DWC3_EVENT_BUFFERS_MAX
usb: dwc3: omap: add multiple instances support to OMAP
... -
This patch adds the controlling interfaces for the Huawei E398.
Thanks to Bjørn Mork for extracting the interface
numbers from the windows driver.Signed-off-by: Alex Hermann
Cc: stable
Signed-off-by: Greg Kroah-Hartman
02 Dec, 2011
1 commit
-
Signed-off-by: Marcin Kościelnicki
Cc: stable
Signed-off-by: Greg Kroah-Hartman
27 Nov, 2011
5 commits
-
Handle null old_termios in ftdi_set_termios() calls from uart_resume_port().
Signed-off-by: Andrew Worsley
Signed-off-by: Greg Kroah-Hartman -
The BKL is a gonner.
Signed-off-by: Davidlohr Bueso
Signed-off-by: Greg Kroah-Hartman -
Tested with SIM5218EVB-KIT evaluation kit.
Signed-off-by: Veli-Pekka Peltola
Cc: stable
Signed-off-by: Greg Kroah-Hartman -
This patch creates the missing controlling devices for the Huawei E353
HSPA+ stick.Signed-off-by: Dirk Nehring
Cc: stable
Signed-off-by: Greg Kroah-Hartman -
This pulls in the latest USB bugfixes and helps a few of the drivers
merge nicer in the future due to changes in both branches.Signed-off-by: Greg Kroah-Hartman
19 Nov, 2011
3 commits
-
Fix for ftdi_set_termios() glitching output
ftdi_set_termios() is constantly setting the baud rate, data bits and parity
unnecessarily on every call, . When called while characters are being
transmitted can cause the FTDI chip to corrupt the serial port bit stream
output by stalling the output half a bit during the output of a character.
Simple fix by skipping this setting if the baud rate/data bits/parity are
unchanged.Signed-off-by: Andrew Worsley
Cc: stable
----I had a brief run with strace on the getty and it was doing ioctl()s on
each call but it didn't look relavant to the problem. I think the issue is
that XON/XOFF flow control was being implmented via hardware - for the ixoff
to allow the user to use XON/XOFF to control output. Unfortunately it would
send 3 Control URBs updating all of the settings after each piece of inputI am trying to work around the issue of gmail messing with the tab/spacing
by submitting via SMTP via gmail which I believe should fix the issue.The patch is against v3.2-rc2 and compiles - but no additional testing in
this kernel has been done.Thanks
Andrew
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Ferenc Wagner
Cc: stable
Signed-off-by: Greg Kroah-Hartman -
This patch adds new PIDs for ZTE 3G modem, after we confirm it and tested.
Thanks for Dan's work at kernel option devier.Signed-off-by: Alvin.Zheng
Signed-off-by: wsalvin
Cc: stable
Signed-off-by: Greg Kroah-Hartman
16 Nov, 2011
22 commits
-
Use usb_translate_errors() to map USB-specific errors to errors
appropriate for user space (ENOMEM, ENODEV and EIO) in write.Currently almost all serial drivers simply forward error codes from the
stack (e.g. from usb_submit_urb()), but these codes often have
different meanings in user-space. Doing the mapping in usb-serial core
simplifies driver code and allows for more consistent error reporting.Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Minor whitespace clean ups.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Forward errors from usb_submit_urb in open.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Remove code that was apparently copied from pl2303, disabled and then
never used.Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Forward errors from usb_submit_urb in open.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Make sure we forward all error codes (e.g. ENOMEM) to USB serial core.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
All error messages from stack in open are being forwarded except for
one call to usb_submit_urb. Change this for consistency.Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Use usb_translate_errors() to map USB-specific errors to errors
appropriate for user space (ENOMEM, ENODEV and EIO) in open.Currently almost all serial drivers simply forward error codes from the
stack (e.g. from usb_submit_urb()), but these codes often have
different meanings in user-space. Doing the mapping in usb-serial core
simplifies driver code and allows for more consistent error reporting.Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Add support for multiple read urbs to generic read implementation.
Use a static array of two read urbs for now which is enough to get a
50% throughput increase in one test setup.Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Use generic open rather than calling usb_serial_submit_read_urb
directly.Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Reorder urb submission and simply kill interrupt urb should read-urb
submission fail (rather than calling close).Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Return errors from usb_submit_urb rather than EPROTO on errors in open.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Use process_read_urb rather than read_bulk_callback for break
processing.Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Use tabs for indentation.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Reuse first write urb and bulk-out buffer of the generic write
implementation for drivers that rely on port->write_urb rather than
allocating them separately.Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Remove unnecessary re-fills of bulk urbs whose fields have not changed
since port probe.Compile-only tested.
Cc: Matthias Bruestle and Harald Welte
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Remove unnecessary reinitialisations of completion and context fields of
urbs.Compile-only tested.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Remove unnecessary reinitialisations of urb->dev before each submission,
which were based on the (no longer valid) assumption that serial->dev
will be set to NULL on close.Compile-only tested.
Cc: Matthias Bruestle and Harald Welte
Cc: Lonnie Mendez
Cc: Peter Berger
Cc: Al Borchers
Cc: Support Department
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Remove variable port0 from open as it is not used.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Remove incorrect and unnecessary check for port->read_urb which is not
set to NULL, contrary to what seems to be assumed, when urb is killed.Compile only-tested.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Use port write_urbs_free mask rather than write_urb_busy field in struct
serial_port.Compile-only tested.
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman -
Use port write_urbs_free mask rather than write_urb_busy field in struct
serial_port.Compile-only tested.
Cc: Matthias Bruestle and Harald Welte
Signed-off-by: Johan Hovold
Signed-off-by: Greg Kroah-Hartman