18 Oct, 2008

33 commits

  • Correct errors in the descriptions for usb_autopm_enable
    and usb_autopm_disable in the USB PM doc.

    Signed-off-by: Geoff Levand
    Acked-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Geoff Levand
     
  • This patch moves dbg calls to dev_dbg where possible. It also fixes some
    issues with a previous submission aiming to do the same thing.

    Signed-off-by: Kevin Lloyd
    Signed-off-by: Greg Kroah-Hartman

    Kevin Lloyd
     
  • Reset upon resumption will wipe the input buffer and is therefore
    a reason to not suspend if remote wakeup is requested because
    the driver needs that data.

    Signed-off-by: Oliver Neukum
    Signed-off-by: Greg Kroah-Hartman

    Oliver Neukum
     
  • Signed-off-by: Paulius Zaleckas
    Signed-off-by: Greg Kroah-Hartman

    Paulius Zaleckas
     
  • Signed-off-by: Peter Korsgaard
    Signed-off-by: Greg Kroah-Hartman

    Peter Korsgaard
     
  • This adds Documentation for the extensions of the anchor API.

    Signed-off-by: Oliver Neukum
    Signed-off-by: Greg Kroah-Hartman

    Oliver Neukum
     
  • This patch (as1134) attempts to improve the way we handle OHCI
    controllers with broken Root Hub Status Change interrupt support. In
    these controllers the RHSC interrupt bit essentially never turns off,
    making RHSC interrupts useless -- they have to remain permanently
    disabled.

    Such controllers should still be allowed to turn off their root hubs
    when no devices are attached. Polling for new connections can
    continue while the root hub is suspended. The patch implements this
    feature. (It won't have much effect unless CONFIG_PM is enabled and
    CONFIG_USB_SUSPEND is disabled, but since the overhead is very small
    we may as well do it.)

    Signed-off-by: Alan Stern
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch (as1118) addresses a problem with certain USB mass-storage
    devices. These devices sometimes return less data than asked for and
    then provide no sense data to explain the problem. Currently
    usb-storage leaves it up to the SCSI layer to decide how this should
    be handled, and the SCSI layer interprets the lack of sense data to
    mean that nothing went wrong. But if we got less data than required
    then something definitely _did_ go wrong, and we should say so.

    The patch tells the SCSI layer to retry the command when this sort of
    thing happens. Retrying may not solve the underlying problem, but
    it's better than believing that data was transferred when it wasn't.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • Some of Freescale SoC chips have a QE or CPM co-processor which
    supports full speed USB. The driver adds device mode support
    of both QE and CPM USB controller to Linux USB gadget. The
    driver is tested with MPC8360 and MPC8272, and should work with
    other models having QE/CPM given minor tweaks.

    Signed-off-by: Xie Xiaobo
    Signed-off-by: Li Yang
    Acked-by: Arnd Bergmann
    Cc: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Li Yang
     
  • In case of error, the function backlight_device_register returns an
    ERR pointer, but never returns a NULL pointer. So a NULL test that may
    come after a call to this function should be strengthened by an IS_ERR
    test.

    The semantic match that finds this problem is as follows:
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @match_bad_null_test@
    expression x, E;
    statement S1,S2;
    @@
    x = backlight_device_register(...)
    ... when != x = E
    * if (x != NULL)
    S1 else S2
    //

    Signed-off-by: Julien Brunel
    Signed-off-by: Julia Lawall
    Signed-off-by: Greg Kroah-Hartman

    Julien Brunel
     
  • The driver(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
    drivers/usb/gadget/pxa27x_udc.c

    This patch removes the said #include .

    Signed-off-by: Huang Weiyi
    Signed-off-by: Greg Kroah-Hartman

    Huang Weiyi
     
  • Some USB peripheral controller drivers support software control
    over the data pullup. Use those controls to prevent the OBEX
    function from enumerating until the userspace server has opened
    the /dev/ttyGS* node it will use to implement protocol chitchat
    with the USB host.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • The following patch introduces a new f_obex.c function driver.
    It allows userspace obex servers to use usb as transport layer
    for their messages.

    [ dbrownell@users.sourceforge.net: various fixes and cleanups ]

    Signed-off-by: Felipe Balbi
    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Felipe Balbi
     
  • Add a new mechanism to the composite gadget framework, letting
    functions deactivate (and reactivate) themselves. Think of it
    as a refcounted wrapper for the software pullup control.

    A key example of why to use this mechanism involves functions that
    require a userspace daemon. Those functions shuld use this new
    mechanism to prevent the gadget from enumerating until those daemons
    are activated. Without this mechanism, hosts would see devices that
    malfunction until the relevant daemons start.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • This patch (as1132) implements the set_wedge() method for net2280.
    This method is necessary for strict USBCV compliance in
    g_file_storage.

    Signed-off-by: Alan Stern
    CC: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch (as1131) implements the set_wedge() method for dummy_hcd.
    This method is necessary for strict USBCV compliance in
    g_file_storage.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This reorders the list of USB peripheral controller drivers so it's
    more common for the initial (default) value to be relevant: put the
    SOC integrated silicon up front, discrete stuff last. Alphabetize.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • [This version fixes a thinko in the r8a66597 driver]

    This patch let a few discrete USB host controllers drivers (isp116x-hcd,
    r8a66597-hcd and sl811-hcd) obtain IRQ flags from their IORESOURCE_IRQ
    resource if configured as such, much like it's been done for the smc91x
    driver.

    It spares people writing support for specific boards the burden to
    configure the interrupt controller independantly, and keeps all IRQ
    related information in a single resource.

    HCD that are integrally part of a SoC have been left aside, as there
    is probably no "wiring" options...

    Tested on an Xscale PXA-255 based platform with isp116x-hcd.

    Signed-off-by: Marc Zyngier
    Cc: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Marc Zyngier
     
  • Remove forgotten code related to sg_stat[].

    Signed-off-by: Pete Zaitcev
    Signed-off-by: Greg Kroah-Hartman

    Pete Zaitcev
     
  • this extends the poisoning concept to anchors. This way poisoning
    will work with fire and forget drivers.

    Signed-off-by: Oliver Neukum
    Signed-off-by: Greg Kroah-Hartman

    Oliver Neukum
     
  • looking at usb_kill_urb() it seems to me that it is unnecessarily lenient.
    In the use case of disconnect() you never want to use the URB again
    (for the same device) But leaving urb->reject elevated will make it easier
    to avoid races between read/write and disconnect.

    Signed-off-by: Oliver Neukum
    Signed-off-by: Greg Kroah-Hartman

    Oliver Neukum
     
  • In this code, it is possible to tell statically whether usblp will be NULL
    in the error handling code.

    Oliver Neukum suggested to make a goto to the final return rather than
    return directly.

    The semantic match that finds this problem is as follows:
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @@
    identifier f,err,l,l1;
    type T;
    expression x,E;
    statement S;
    @@

    x = NULL
    ... when != goto l1;
    * x = f(...)
    ... when != x
    err = E;
    goto l;
    ...
    * if (x != NULL)
    S
    return err;
    //

    Signed-off-by: Julia Lawall
    Cc: Pete Zaitcev
    Signed-off-by: Greg Kroah-Hartman

    Julia Lawall
     
  • This driver was originaly written by Stefan Kopp, but massively
    reworked by Greg for submission.

    Thanks to Felipe Balbi for lots of work in cleaning
    up this driver.

    Thanks to Oliver Neukum for reviewing previous
    versions and pointing out problems.

    Cc: Stefan Kopp
    Cc: Marcel Janssen
    Cc: Felipe Balbi
    Cc: Oliver Neukum
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Added basic support for a Delcom USB 7-segment LED Display

    Signed-off by: Harrison Metzger
    Signed-off-by: Greg Kroah-Hartman

    Harrison Metzger
     
  • Add Oceanic PID to ftdi_sio driver

    Oceanic dive computers (such as the VT3 --
    http://www.oceanicworldwide.com/p_computers_vt3.html) all use an onboard
    FTDI serial converter, with the FTDI vid and a PID of 0xf460. The
    attached patch adds that pid to ftdi_sio; driver connects to my VT3
    after that.

    Signed-off-by: Vladimir Vukicevic
    Signed-off-by: Greg Kroah-Hartman

    Vladimir Vukicevic
     
  • Remove duplicate device ids which are now supported by drivers/usb/net/hso.c

    Signed-off-by: Denis Joseph Barrow
    Signed-off-by: Greg Kroah-Hartman

    Denis Joseph Barrow
     
  • Add a few more mobile broadband cards.

    Signed-off-by: Dan Williams
    Signed-off-by: Greg Kroah-Hartman

    Dan Williams
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (25 commits)
    staging: at76_usb wireless driver
    Staging: workaround build system bug
    Staging: Lindent sxg.c
    Staging: SLICOSS: Call pci_release_regions at driver exit
    Staging: SLICOSS: Fix remaining type names
    Staging: SLICOSS: Fix warnings due to static usage
    Staging: SLICOSS: lots of checkpatch fixes
    Staging: go7007 v4l fixes
    Staging: Fix gcc warnings in sxg
    Staging: add echo cancelation module
    Staging: add wlan-ng prism2 usb driver
    Staging: add w35und wifi driver
    Staging: USB/IP: add host driver
    Staging: USB/IP: add client driver
    Staging: USB/IP: add common functions needed
    Staging: add the go7007 video driver
    Staging: add me4000 pci data collection driver
    Staging: add me4000 firmware files
    Staging: add sxg network driver
    Staging: add Alacritech slicoss network driver
    ...

    Fixed up conflicts due to taint flags changes and MAINTAINERS cleanup in
    MAINTAINERS, include/linux/kernel.h and kernel/panic.c.

    Linus Torvalds
     
  • * 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6: (47 commits)
    hwmon: (adm1026) Prevent log spamming
    hwmon: (adm1026) Fix debug messages
    hwmon: (adm1029) Use mask for fan_div value
    hwmon: (adt7470) Add documentation
    hwmon: (ibmaem) Automatically load on IBM systems via DMI
    hwmon: (ibmpex) Automatically load on IBM systems via DMI
    hwmon: (w83781d) Use new style driver binding
    hwmon: (w83781d) Stop abusing struct i2c_client for ISA devices
    hwmon: (w83781d) Make ISA interface depend on CONFIG_ISA
    hwmon: (w83781d) Additional information about AS99127F PWM
    hwmon: (w83781d) Detect alias chips
    hwmon: (w83781d) Refactor beep enable handling
    hwmon: Drop dead links to old National Semiconductor chip datasheets
    hwmon: (w83791d) add support for thermal cruise mode
    hwmon: (w83791d) add pwm_enable support
    hwmon: (w83791d) add manual PWM support
    hwmon: (w83791d) fan 4/5 pins can also be used for gpio
    hwmon: (max1619) Use inline functions instead of macros
    hwmon: (it87) Fix thermal sensor type values
    hwmon: (lm78) Convert to a new-style i2c driver
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: Fix debugfs_create_dir's error checking method for sound/soc/
    ALSA: ASoC: Convert playpaq_wm8510 to bulk route registration API
    ALSA: kernel docs: fix sound/core/ kernel-doc
    ALSA: Handle NULL jacks in snd_jack_report()
    ALSA: hda - Fix PCM type of Nvidia HDMI devices

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
    block: remove __generic_unplug_device() from exports
    block: move q->unplug_work initialization
    blktrace: pass zfcp driver data
    blktrace: add support for driver data
    block: fix current kernel-doc warnings
    block: only call ->request_fn when the queue is not stopped
    block: simplify string handling in elv_iosched_store()
    block: fix kernel-doc for blk_alloc_devt()
    block: fix nr_phys_segments miscalculation bug
    block: add partition attribute for partition number
    block: add BIG FAT WARNING to CONFIG_DEBUG_BLOCK_EXT_DEVT
    softirq: Add support for triggering softirq work on softirqs.

    Linus Torvalds
     
  • * 'for-linus' of git://www.jni.nu/cris:
    CRIS: proper defconfig setup
    [CRIS] Rename boot-linkscripts and fix the path to them.

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (39 commits)
    [SCSI] sd: fix compile failure with CONFIG_BLK_DEV_INTEGRITY=n
    libiscsi: fix locking in iscsi_eh_device_reset
    libiscsi: check reason why we are stopping iscsi session to determine error value
    [SCSI] iscsi_tcp: return a descriptive error value during connection errors
    [SCSI] libiscsi: rename host reset to target reset
    [SCSI] iscsi class: fix endpoint id handling
    [SCSI] libiscsi: Support drivers initiating session removal
    [SCSI] libiscsi: fix data corruption when target has to resend data-in packets
    [SCSI] sd: Switch kernel printing level for DIF messages
    [SCSI] sd: Correctly handle all combinations of DIF and DIX
    [SCSI] sd: Always print actual protection_type
    [SCSI] sd: Issue correct protection operation
    [SCSI] scsi_error: fix target reset handling
    [SCSI] lpfc 8.2.8 v2 : Add statistical reporting control and additional fc vendor events
    [SCSI] lpfc 8.2.8 v2 : Add sysfs control of target queue depth handling
    [SCSI] lpfc 8.2.8 v2 : Revert target busy in favor of transport disrupted
    [SCSI] scsi_dh_alua: remove REQ_NOMERGE
    [SCSI] lpfc 8.2.8 : update driver version to 8.2.8
    [SCSI] lpfc 8.2.8 : Add MSI-X support
    [SCSI] lpfc 8.2.8 : Update driver to use new Host byte error code DID_TRANSPORT_DISRUPTED
    ...

    Linus Torvalds
     

17 Oct, 2008

7 commits