15 Dec, 2014

1 commit

  • Pull USB updates from Greg KH:
    "Here's the big set of USB and PHY patches for 3.19-rc1.

    The normal churn in the USB gadget area is in here, as well as xhci
    and other individual USB driver updates. The PHY tree is also in
    here, as there were dependancies on the USB tree.

    All of these have been in linux-next"

    * tag 'usb-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (351 commits)
    arm: omap3: twl: remove usb phy init data
    usbip: fix error handling in stub_probe()
    usb: gadget: udc: missing curly braces
    USB: mos7720: delete some unneeded code
    wusb: replace memset by memzero_explicit
    usbip: remove unneeded structure
    usb: xhci: fix comment for PORT_DEV_REMOVE
    xhci: don't use the same variable for stopped and halted rings current TD
    xhci: clear extra bits from slot context when setting max exit latency
    xhci: cleanup finish_td function
    USB: adutux: NULL dereferences on disconnect
    usb: chipidea: fix platform_no_drv_owner.cocci warnings
    usb: chipidea: Fixed a few typos in comments
    Documentation: bindings: add doc for the USB2 ChipIdea USB driver
    usb: chipidea: add a usb2 driver for ci13xxx
    usb: chipidea: fix phy handling
    usb: chipidea: remove duplicate dev_set_drvdata for host_start
    usb: chipidea: parameter 'mode' isn't needed for hw_device_reset
    usb: chipidea: add controller reset API
    usb: chipidea: remove flag CI_HDRC_REQUIRE_TRANSCEIVER
    ...

    Linus Torvalds
     

13 Dec, 2014

1 commit

  • Pull trivial tree update from Jiri Kosina:
    "Usual stuff: documentation updates, printk() fixes, etc"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (24 commits)
    intel_ips: fix a type in error message
    cpufreq: cpufreq-dt: Move newline to end of error message
    ps3rom: fix error return code
    treewide: fix typo in printk and Kconfig
    ARM: dts: bcm63138: change "interupts" to "interrupts"
    Replace mentions of "list_struct" to "list_head"
    kernel: trace: fix printk message
    scsi: mpt2sas: fix ioctl in comment
    zbud, zswap: change module author email
    clocksource: Fix 'clcoksource' typo in comment
    arm: fix wording of "Crotex" in CONFIG_ARCH_EXYNOS3 help
    gpio: msm-v1: make boolean argument more obvious
    usb: Fix typo in usb-serial-simple.c
    PCI: Fix comment typo 'COMFIG_PM_OPS'
    powerpc: Fix comment typo 'CONIFG_8xx'
    powerpc: Fix comment typos 'CONFiG_ALTIVEC'
    clk: st: Spelling s/stucture/structure/
    isci: Spelling s/stucture/structure/
    usb: gadget: zero: Spelling s/infrastucture/infrastructure/
    treewide: Fix company name in module descriptions
    ...

    Linus Torvalds
     

04 Dec, 2014

1 commit

  • After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is
    selected) PM_RUNTIME is always set if PM is set, so quite a few
    depend on CONFIG_PM (or even dropped in some cases).

    Replace CONFIG_PM_RUNTIME with CONFIG_PM in the USB core code
    and documentation.

    Signed-off-by: Rafael J. Wysocki
    Acked-by: Alan Stern
    Acked-by: Greg Kroah-Hartman

    Rafael J. Wysocki
     

27 Nov, 2014

1 commit


20 Nov, 2014

1 commit


07 Nov, 2014

1 commit


29 Oct, 2014

1 commit


22 Oct, 2014

1 commit


24 Sep, 2014

2 commits

  • USB hub has started to use a workqueue instead of kthread. Let's update
    the documentation and comments here and there.

    This patch mostly just replaces "khubd" with "hub_wq". There are only few
    exceptions where the whole sentence was updated. These more complicated
    changes can be found in the following files:

    Documentation/usb/hotplug.txt
    drivers/net/usb/usbnet.c
    drivers/usb/core/hcd.c
    drivers/usb/host/ohci-hcd.c
    drivers/usb/host/xhci.c

    Signed-off-by: Petr Mladek
    Acked-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Petr Mladek
     
  • The existing UWB documentation states that UWB devices show up in
    /sys/class/uwb and /sys/bus/uwb/devices. Up until the most recent
    changes to add uwb devices to their own bus, neither of these statements
    were actually true. Now, UWB devices do show up in /sys/bus/uwb/devices
    so the documentation has been updated to reflect that and removed
    references to /sys/class/uwb.

    The existing documentation also states that local UWB radio controller
    (RC) devices also show up as UWB devices along with their wireless peer
    UWB devices under /sys/class/uwb. This is not true so that statement
    has been removed.

    Signed-off-by: Thomas Pugliese
    Signed-off-by: Greg Kroah-Hartman

    Thomas Pugliese
     

10 Jul, 2014

2 commits

  • Fixed several typos in the code examples given in
    Documentation/usb/hotplug.txt.

    - missing [] with array of struct usb_device_id

    - checkpatch.pl warning: space between function name and parenthesis

    - missing terminating ';'

    Signed-off-by: Jeremiah Mahler
    Signed-off-by: Greg Kroah-Hartman

    Jeremiah Mahler
     
  • describe the mechanisms for controlling port power policy and
    discovering the port power state.

    [oliver]: fixes, clarification of wakeup vs port-power-control
    [sarah]: wordsmithing
    [djbw]: updates for peer port changes
    [alan]: review and fixes
    Cc: Oliver Neukum
    Signed-off-by: Lan Tianyu
    Signed-off-by: Dan Williams
    Acked-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Lan Tianyu
     

04 Jun, 2014

1 commit

  • Pull trivial tree changes from Jiri Kosina:
    "Usual pile of patches from trivial tree that make the world go round"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits)
    staging: go7007: remove reference to CONFIG_KMOD
    aic7xxx: Remove obsolete preprocessor define
    of: dma: doc fixes
    doc: fix incorrect formula to calculate CommitLimit value
    doc: Note need of bc in the kernel build from 3.10 onwards
    mm: Fix printk typo in dmapool.c
    modpost: Fix comment typo "Modules.symvers"
    Kconfig.debug: Grammar s/addition/additional/
    wimax: Spelling s/than/that/, wording s/destinatary/recipient/
    aic7xxx: Spelling s/termnation/termination/
    arm64: mm: Remove superfluous "the" in comment
    of: Spelling s/anonymouns/anonymous/
    dma: imx-sdma: Spelling s/determnine/determine/
    ath10k: Improve grammar in comments
    ath6kl: Spelling s/determnine/determine/
    of: Improve grammar for of_alias_get_id() documentation
    drm/exynos: Spelling s/contro/control/
    radio-bcm2048.c: fix wrong overflow check
    doc: printk-formats: do not mention casts for u64/s64
    doc: spelling error changes
    ...

    Linus Torvalds
     

23 May, 2014

1 commit


05 May, 2014

1 commit


25 Apr, 2014

1 commit


21 Mar, 2014

1 commit


10 Jan, 2014

1 commit


31 Oct, 2013

1 commit


13 Aug, 2013

2 commits

  • The config descriptors as read from /proc/bus/usb/BBB/DDD are in *bus* endian
    format. Correct proc_usb_info.txt to correctly reflect that.

    Signed-off-by: Hans de Goede
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     
  • There is no good reason to run complete() in hard interrupt
    disabled context.

    After switch to run complete() in tasklet, we will enable local IRQs
    when calling complete() since we can do it at that time.

    Even though we still disable IRQs now when calling complete()
    in tasklet, the URB documentation is updated to claim complete()
    will be run in tasklet context and local IRQs will be enabled, so
    that USB drivers can know the change and avoid one deadlock caused
    by: assume IRQs disabled in complete() and call spin_lock() to
    hold lock which might be acquired in interrupt context.

    Current spin_lock() usages in drivers' complete() will be cleaned
    up at the same time, and once the cleanup is finished, local IRQs
    will be enabled when calling complete() in tasklet.

    Also fix description about type of usb_complete_t, and remove the
    advice of running completion handler in tasklet for decreasing
    system latency.

    Cc: Oliver Neukum
    Acked-by: Alan Stern
    Signed-off-by: Ming Lei
    Signed-off-by: Greg Kroah-Hartman

    Ming Lei
     

03 Jul, 2013

1 commit

  • Pull driver core updates from Greg KH:
    "Here's the big driver core merge for 3.11-rc1

    Lots of little things, and larger firmware subsystem updates, all
    described in the shortlog. Nice thing here is that we finally get rid
    of CONFIG_HOTPLUG, after 10+ years, thanks to Stephen Rohtwell (it had
    been always on for a number of kernel releases, now it's just
    removed)"

    * tag 'driver-core-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (27 commits)
    driver core: device.h: fix doc compilation warnings
    firmware loader: fix another compile warning with PM_SLEEP unset
    build some drivers only when compile-testing
    firmware loader: fix compile warning with PM_SLEEP set
    kobject: sanitize argument for format string
    sysfs_notify is only possible on file attributes
    firmware loader: simplify holding module for request_firmware
    firmware loader: don't export cache_firmware and uncache_firmware
    drivers/base: Use attribute groups to create sysfs memory files
    firmware loader: fix compile warning
    firmware loader: fix build failure with !CONFIG_FW_LOADER_USER_HELPER
    Documentation: Updated broken link in HOWTO
    Finally eradicate CONFIG_HOTPLUG
    driver core: firmware loader: kill FW_ACTION_NOHOTPLUG requests before suspend
    driver core: firmware loader: don't cache FW_ACTION_NOHOTPLUG firmware
    Documentation: Tidy up some drivers/base/core.c kerneldoc content.
    platform_device: use a macro instead of platform_driver_register
    firmware: move EXPORT_SYMBOL annotations
    firmware: Avoid deadlock of usermodehelper lock at shutdown
    dell_rbu: Select CONFIG_FW_LOADER_USER_HELPER explicitly
    ...

    Linus Torvalds
     

18 Jun, 2013

1 commit


04 Jun, 2013

1 commit

  • Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"),
    it has been basically impossible to build a kernel with CONFIG_HOTPLUG
    turned off. Remove all the remaining references to it.

    Cc: Russell King
    Cc: Doug Thompson
    Cc: Bjorn Helgaas
    Cc: Steven Whitehouse
    Cc: Arnd Bergmann
    Cc: Pavel Machek
    Cc: "Rafael J. Wysocki"
    Cc: Andrew Morton
    Signed-off-by: Stephen Rothwell
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Hans Verkuil
    Signed-off-by: Greg Kroah-Hartman

    Stephen Rothwell
     

29 Mar, 2013

1 commit


12 Nov, 2012

2 commits

  • This patch (as1633) changes slightly the way usbcore handled
    submissions of URBs that are already active. It will now return
    -EBUSY rather than -EINVAL, and it will call WARN_ONCE to draw
    people's attention to the bug.

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

    Alan Stern
     
  • USB gadget patches from Felipe:
    "usb: gadget: patches for v3.8

    renesas_usbhs implements ->pullup() method, switches over
    to devm_request_irq(), adds support for DMA Engine and
    got a few miscelaneous cleanups.

    The NCM gadget got an endianness fix and the Ethernet
    gadget a frame size fix.

    We're finally removing the g_file_storage gadget and
    sticking to g_mass_storage and the new tcm_usb_gadget
    gadgets since that was a huge duplicaton of effort anyway.

    While removing g_file_storage, we also had to fix a bunch
    of defconfigs which were still pointing to the old gadget.

    There's a big series getting us closer to being able to
    introduce our configfs interface. The series converts
    functions into loadable modules which will, eventually,
    be registered to the configfs interface.

    Other than that there's the usual typo fixes and miscelaneous
    cleanups all over the place."

    Greg Kroah-Hartman
     

08 Nov, 2012

1 commit


23 Oct, 2012

1 commit

  • This patch (as1611) updates the USB documentation and kerneldoc to
    give a more precise meaning for the URB_ISO_ASAP flag and to explain
    more of the details of scheduling for isochronous URBs.

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

    Alan Stern
     

11 Aug, 2012

1 commit


15 Jun, 2012

1 commit

  • This commit adds Documentation/usb/mass-storage.txt file. It contains
    description of how to use the mass storage gadget from user space. It
    elaborates on madule parameters and sysfs interface more then it was
    written in the comments in the source code.

    Signed-off-by: Michal Nazarewicz
    Acked-by: Alan Stern
    Signed-off-by: Felipe Balbi

    Michal Nazarewicz
     

23 May, 2012

1 commit

  • Pull trivial updates from Jiri Kosina:
    "As usual, it's mostly typo fixes, redundant code elimination and some
    documentation updates."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (57 commits)
    edac, mips: don't change code that has been removed in edac/mips tree
    xtensa: Change mail addresses of Hannes Weiner and Oskar Schirmer
    lib: Change mail address of Oskar Schirmer
    net: Change mail address of Oskar Schirmer
    arm/m68k: Change mail address of Sebastian Hess
    i2c: Change mail address of Oskar Schirmer
    net: Fix tcp_build_and_update_options comment in struct tcp_sock
    atomic64_32.h: fix parameter naming mismatch
    Kconfig: replace "--- help ---" with "---help---"
    c2port: fix bogus Kconfig "default no"
    edac: Fix spelling errors.
    qla1280: Remove redundant NULL check before release_firmware() call
    remoteproc: remove redundant NULL check before release_firmware()
    qla2xxx: Remove redundant NULL check before release_firmware() call.
    aic94xx: Get rid of redundant NULL check before release_firmware() call
    tehuti: delete redundant NULL check before release_firmware()
    qlogic: get rid of a redundant test for NULL before call to release_firmware()
    bna: remove redundant NULL test before release_firmware()
    tg3: remove redundant NULL test before release_firmware() call
    typhoon: get rid of redundant conditional before all to release_firmware()
    ...

    Linus Torvalds
     

15 May, 2012

1 commit


09 Apr, 2012

1 commit


07 Apr, 2012

2 commits

  • This patch (as1534c) updates the documentation for usb_unlink_urb and
    related functions. It explains that the caller must prevent the URB
    being unlinked from getting deallocated while the unlink is taking
    place.

    Signed-off-by: Alan Stern
    CC: Ming Lei
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • The doc says that the data
    | 55534243 5e000000 00000000 00000600 00000000 00000000 00000000 000000
    is the SCSI command 0x5e. According to the usbmon source, it dumps one
    byte after the other. The first 4 bytes are US_BULK_CB_SIGN which is
    correct. After that we see the TAG which is 0x5e. The cdb is 0x00 in
    this example.
    In order to correct this, I change the example to a READ_10 command
    which is 0x28 so it is not just a zero somewhere in the stream.

    Signed-off-by: Sebastian Andrzej Siewior
    Acked-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Sebastian Andrzej Siewior
     

06 Apr, 2012

1 commit


31 Mar, 2012

1 commit

  • Usage of /etc/modprobe.conf file was deprecated by module-init-tools and
    is no longer parsed by new kmod tool. References to this file are
    replaced in Documentation, comments and Kconfig according to the
    context.

    There are also some references to the old /etc/modules.conf from 2.4
    kernels that are being removed.

    Signed-off-by: Lucas De Marchi
    Acked-by: Takashi Iwai
    Acked-by: Mauro Carvalho Chehab
    Signed-off-by: Randy Dunlap
    Signed-off-by: Linus Torvalds

    Lucas De Marchi
     

21 Feb, 2012

2 commits