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.
    ...

    Linus Torvalds
     

09 Jan, 2012

2 commits

  • * '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)

    Linus Torvalds
     
  • * 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (76 commits)
    PM / Hibernate: Implement compat_ioctl for /dev/snapshot
    PM / Freezer: fix return value of freezable_schedule_timeout_killable()
    PM / shmobile: Allow the A4R domain to be turned off at run time
    PM / input / touchscreen: Make st1232 use device PM QoS constraints
    PM / QoS: Introduce dev_pm_qos_add_ancestor_request()
    PM / shmobile: Remove the stay_on flag from SH7372's PM domains
    PM / shmobile: Don't include SH7372's INTCS in syscore suspend/resume
    PM / shmobile: Add support for the sh7372 A4S power domain / sleep mode
    PM: Drop generic_subsys_pm_ops
    PM / Sleep: Remove forward-only callbacks from AMBA bus type
    PM / Sleep: Remove forward-only callbacks from platform bus type
    PM: Run the driver callback directly if the subsystem one is not there
    PM / Sleep: Make pm_op() and pm_noirq_op() return callback pointers
    PM/Devfreq: Add Exynos4-bus device DVFS driver for Exynos4210/4212/4412.
    PM / Sleep: Merge internal functions in generic_ops.c
    PM / Sleep: Simplify generic system suspend callbacks
    PM / Hibernate: Remove deprecated hibernation snapshot ioctls
    PM / Sleep: Fix freezer failures due to racy usermodehelper_is_disabled()
    ARM: S3C64XX: Implement basic power domain support
    PM / shmobile: Use common always on power domain governor
    ...

    Fix up trivial conflict in fs/xfs/xfs_buf.c due to removal of unused
    XBT_FORCE_SLEEP bit

    Linus Torvalds
     

07 Jan, 2012

1 commit

  • This resolves the conflict in the arch/arm/mach-s3c64xx/s3c6400.c file,
    and it fixes the build error in the arch/x86/kernel/microcode_core.c
    file, that the merge did not catch.

    The microcode_core.c patch was provided by Stephen Rothwell
    who was invaluable in the merge issues involved
    with the large sysdev removal process in the driver-core tree.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

05 Jan, 2012

1 commit

  • Echo vendor and product number of a non usb-storage device to
    usb-storage driver's new_id, then plug in the device to host and you
    will find following oops msg, the root cause is usb_stor_probe1()
    refers invalid id entry if giving a dynamic id, so just disable the
    feature.

    [ 3105.018012] general protection fault: 0000 [#1] SMP DEBUG_PAGEALLOC
    [ 3105.018062] CPU 0
    [ 3105.018075] Modules linked in: usb_storage usb_libusual bluetooth
    dm_crypt binfmt_misc snd_hda_codec_analog snd_hda_intel snd_hda_codec
    snd_hwdep hp_wmi ppdev sparse_keymap snd_pcm snd_seq_midi snd_rawmidi
    snd_seq_midi_event snd_seq snd_timer snd_seq_device psmouse snd
    serio_raw tpm_infineon soundcore i915 snd_page_alloc tpm_tis
    parport_pc tpm tpm_bios drm_kms_helper drm i2c_algo_bit video lp
    parport usbhid hid sg sr_mod sd_mod ehci_hcd uhci_hcd usbcore e1000e
    usb_common floppy
    [ 3105.018408]
    [ 3105.018419] Pid: 189, comm: khubd Tainted: G I 3.2.0-rc7+
    #29 Hewlett-Packard HP Compaq dc7800p Convertible Minitower/0AACh
    [ 3105.018481] RIP: 0010:[] []
    usb_stor_probe1+0x2fd/0xc20 [usb_storage]
    [ 3105.018536] RSP: 0018:ffff880056a3d830 EFLAGS: 00010286
    [ 3105.018562] RAX: ffff880065f4e648 RBX: ffff88006bb28000 RCX: 0000000000000000
    [ 3105.018597] RDX: ffff88006f23c7b0 RSI: 0000000000000001 RDI: 0000000000000206
    [ 3105.018632] RBP: ffff880056a3d900 R08: 0000000000000000 R09: ffff880067365000
    [ 3105.018665] R10: 00000000000002ac R11: 0000000000000010 R12: ffff6000b41a7340
    [ 3105.018698] R13: ffff880065f4ef60 R14: ffff88006bb28b88 R15: ffff88006f23d270
    [ 3105.018733] FS: 0000000000000000(0000) GS:ffff88007a200000(0000)
    knlGS:0000000000000000
    [ 3105.018773] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
    [ 3105.018801] CR2: 00007fc99c8c4650 CR3: 0000000001e05000 CR4: 00000000000006f0
    [ 3105.018835] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    [ 3105.018870] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    [ 3105.018906] Process khubd (pid: 189, threadinfo ffff880056a3c000,
    task ffff88005677a400)
    [ 3105.018945] Stack:
    [ 3105.018959] 0000000000000000 0000000000000000 ffff880056a3d8d0
    0000000000000002
    [ 3105.019011] 0000000000000000 ffff880056a3d918 ffff880000000000
    0000000000000002
    [ 3105.019058] ffff880056a3d8d0 0000000000000012 ffff880056a3d8d0
    0000000000000006
    [ 3105.019105] Call Trace:
    [ 3105.019128] [] storage_probe+0xa4/0xe0 [usb_storage]
    [ 3105.019173] [] usb_probe_interface+0x172/0x330 [usbcore]
    [ 3105.019211] [] driver_probe_device+0x257/0x3b0
    [ 3105.019243] [] __device_attach+0x73/0x90
    [ 3105.019272] [] ? __driver_attach+0x110/0x110
    [ 3105.019303] [] bus_for_each_drv+0x9c/0xf0
    [ 3105.019334] [] device_attach+0xf7/0x120
    [ 3105.019364] [] bus_probe_device+0x45/0x80
    [ 3105.019396] [] device_add+0x876/0x990
    [ 3105.019434] [] usb_set_configuration+0x822/0x9e0 [usbcore]
    [ 3105.019479] [] generic_probe+0x62/0xf0 [usbcore]
    [ 3105.019518] [] usb_probe_device+0x66/0xb0 [usbcore]
    [ 3105.019555] [] driver_probe_device+0x257/0x3b0
    [ 3105.019589] [] __device_attach+0x73/0x90
    [ 3105.019617] [] ? __driver_attach+0x110/0x110
    [ 3105.019648] [] bus_for_each_drv+0x9c/0xf0
    [ 3105.019680] [] device_attach+0xf7/0x120
    [ 3105.019709] [] bus_probe_device+0x45/0x80
    [ 3105.021040] usb usb6: usb auto-resume
    [ 3105.021045] usb usb6: wakeup_rh
    [ 3105.024849] [] device_add+0x876/0x990
    [ 3105.025086] [] usb_new_device+0x1e7/0x2b0 [usbcore]
    [ 3105.025086] [] hub_thread+0xb27/0x1ec0 [usbcore]
    [ 3105.025086] [] ? wake_up_bit+0x50/0x50
    [ 3105.025086] [] ? usb_remote_wakeup+0xa0/0xa0 [usbcore]
    [ 3105.025086] [] kthread+0xd8/0xf0
    [ 3105.025086] [] kernel_thread_helper+0x4/0x10
    [ 3105.025086] [] ? _raw_spin_unlock_irq+0x50/0x80
    [ 3105.025086] [] ? retint_restore_args+0x13/0x13
    [ 3105.025086] [] ? __init_kthread_worker+0x80/0x80
    [ 3105.025086] [] ? gs_change+0x13/0x13
    [ 3105.025086] Code: 00 48 83 05 cd ad 00 00 01 48 83 05 cd ad 00 00
    01 4c 8b ab 30 0c 00 00 48 8b 50 08 48 83 c0 30 48 89 45 a0 4c 89 a3
    40 0c 00 00 0f b6 44 24 10 48 89 55 a8 3c ff 0f 84 b8 04 00 00 48
    83 05
    [ 3105.025086] RIP [] usb_stor_probe1+0x2fd/0xc20
    [usb_storage]
    [ 3105.025086] RSP
    [ 3105.060037] hub 6-0:1.0: hub_resume
    [ 3105.062616] usb usb5: usb auto-resume
    [ 3105.064317] ehci_hcd 0000:00:1d.7: resume root hub
    [ 3105.094809] ---[ end trace a7919e7f17c0a727 ]---
    [ 3105.130069] hub 5-0:1.0: hub_resume
    [ 3105.132131] usb usb4: usb auto-resume
    [ 3105.132136] usb usb4: wakeup_rh
    [ 3105.180059] hub 4-0:1.0: hub_resume
    [ 3106.290052] usb usb6: suspend_rh (auto-stop)
    [ 3106.290077] usb usb4: suspend_rh (auto-stop)

    Signed-off-by: Huajun Li
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Huajun Li
     

02 Jan, 2012

1 commit


22 Dec, 2011

1 commit

  • * master: (848 commits)
    SELinux: Fix RCU deref check warning in sel_netport_insert()
    binary_sysctl(): fix memory leak
    mm/vmalloc.c: remove static declaration of va from __get_vm_area_node
    ipmi_watchdog: restore settings when BMC reset
    oom: fix integer overflow of points in oom_badness
    memcg: keep root group unchanged if creation fails
    nilfs2: potential integer overflow in nilfs_ioctl_clean_segments()
    nilfs2: unbreak compat ioctl
    cpusets: stall when updating mems_allowed for mempolicy or disjoint nodemask
    evm: prevent racing during tfm allocation
    evm: key must be set once during initialization
    mmc: vub300: fix type of firmware_rom_wait_states module parameter
    Revert "mmc: enable runtime PM by default"
    mmc: sdhci: remove "state" argument from sdhci_suspend_host
    x86, dumpstack: Fix code bytes breakage due to missing KERN_CONT
    IB/qib: Correct sense on freectxts increment and decrement
    RDMA/cma: Verify private data length
    cgroups: fix a css_set not found bug in cgroup_attach_proc
    oprofile: Fix uninitialized memory access when writing to writing to oprofilefs
    Revert "xen/pv-on-hvm kexec: add xs_reset_watches to shutdown watches from old kernel"
    ...

    Conflicts:
    kernel/cgroup_freezer.c

    Rafael J. Wysocki
     

13 Dec, 2011

1 commit

  • …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
    ...

    Greg Kroah-Hartman
     

27 Nov, 2011

2 commits


24 Nov, 2011

1 commit

  • * 'pm-freezer' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc: (24 commits)
    freezer: fix wait_event_freezable/__thaw_task races
    freezer: kill unused set_freezable_with_signal()
    dmatest: don't use set_freezable_with_signal()
    usb_storage: don't use set_freezable_with_signal()
    freezer: remove unused @sig_only from freeze_task()
    freezer: use lock_task_sighand() in fake_signal_wake_up()
    freezer: restructure __refrigerator()
    freezer: fix set_freezable[_with_signal]() race
    freezer: remove should_send_signal() and update frozen()
    freezer: remove now unused TIF_FREEZE
    freezer: make freezing() test freeze conditions in effect instead of TIF_FREEZE
    cgroup_freezer: prepare for removal of TIF_FREEZE
    freezer: clean up freeze_processes() failure path
    freezer: kill PF_FREEZING
    freezer: test freezable conditions while holding freezer_lock
    freezer: make freezing indicate freeze condition in effect
    freezer: use dedicated lock instead of task_lock() + memory barrier
    freezer: don't distinguish nosig tasks on thaw
    freezer: remove racy clear_freeze_flag() and set PF_NOFREEZE on dead tasks
    freezer: rename thaw_process() to __thaw_task() and simplify the implementation
    ...

    Rafael J. Wysocki
     

22 Nov, 2011

1 commit

  • The current implementation of set_freezable_with_signal() is buggy and
    tricky to get right. usb-storage is the only user and its use can be
    avoided trivially.

    All usb-storage wants is to be able to sleep with timeout and get
    woken up if freezing() becomes true. This can be trivially
    implemented by doing interruptible wait w/ freezing() included in the
    wait condition. There's no reason to use set_freezable_with_signal().

    Perform interruptible wait on freezing() instead of using
    set_freezable_with_signal(), which is scheduled for removal.

    Signed-off-by: Tejun Heo
    Cc: Oleg Nesterov
    Cc: "Rafael J. Wysocki"
    Cc: Seth Forshee
    Cc: Alan Stern
    Cc: Greg Kroah-Hartman

    Tejun Heo
     

19 Nov, 2011

1 commit

  • This converts the drivers in drivers/usb/* to use the
    module_usb_driver() macro which makes the code smaller and a bit
    simpler.

    Added bonus is that it removes some unneeded kernel log messages about
    drivers loading and/or unloading.

    Cc: Simon Arlott
    Cc: Duncan Sands
    Cc: Matthieu CASTET
    Cc: Stanislaw Gruszka
    Cc: Pete Zaitcev
    Cc: Oliver Neukum
    Cc: Juergen Stuber
    Cc: Cesar Miquel
    Cc: Matthew Dharm
    Cc: Matthew Wilcox
    Cc: Sarah Sharp
    Cc: Kuninori Morimoto
    Cc: Felipe Balbi
    Cc: Lucas De Marchi
    Cc: Michael Hund
    Cc: Zack Parsons
    Cc: Melchior FRANZ
    Cc: Tomoki Sekiyama
    Cc: Dan Carpenter
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

16 Nov, 2011

15 commits

  • Use kmemdup rather than duplicating its implementation

    The semantic patch that makes this change is available
    in scripts/coccinelle/api/memdup.cocci.

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

    Thomas Meyer
     
  • Fix the following sparse warning:

    | drivers/usb/storage/shuttle_usbat.c:173:22: warning:
    | symbol 'usbat_usb_ids' was not declared. Should
    | it be static?

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

    Felipe Balbi
     
  • Fix the following sparse warning:

    | drivers/usb/storage/sddr55.c:51:22: warning: symbol
    | 'sddr55_usb_ids' was not declared. Should it
    | be static?

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

    Felipe Balbi
     
  • Fix the following sparse warning:

    | drivers/usb/storage/sddr09.c:74:22: warning: symbol
    | 'sddr09_usb_ids' was not declared. Should it
    | be static?

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

    Felipe Balbi
     
  • Fix the following sparse warnings:

    | drivers/usb/storage/realtek_cr.c:821:6: warning: symbol
    | 'rts51x_invoke_transport' was not declared. Should
    | it be static?
    |
    | drivers/usb/storage/realtek_cr.c:980:5: warning: symbol
    | 'realtek_cr_suspend' was not declared. Should it
    | be static?
    |
    | drivers/usb/storage/realtek_cr.c:518:23: warning: cast
    | truncates bits from constant value (fe47 becomes 47)

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

    Felipe Balbi
     
  • Fix the following sparse warning:

    | drivers/usb/storage/onetouch.c:72:22: warning: symbol
    | 'onetouch_usb_ids' was not declared. Should it
    | be static?

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

    Felipe Balbi
     
  • Fix the following sparse warning:

    | drivers/usb/storage/karma.c:62:22: warning: symbol
    | 'karma_usb_ids' was not declared. Should it
    | be static?

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

    Felipe Balbi
     
  • Fix the following sparse warning:

    | drivers/usb/storage/jumpshot.c:74:22: warning: symbol
    | 'jumpshot_usb_ids' was not declared. Should it
    | be static?

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

    Felipe Balbi
     
  • Fix the following sparse warning:

    | drivers/usb/storage/freecom.c:122:22: warning: symbol
    | 'freecom_usb_ids' was not declared. Should it
    | be static?

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

    Felipe Balbi
     
  • Fix the following sparse warning:

    | drivers/usb/storage/freecom.c:122:22: warning: symbol
    | 'freecom_usb_ids' was not declared. Should it
    | be static?

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

    Felipe Balbi
     
  • Fix the following sparse warnings:

    | drivers/usb/storage/ene_ub6250.c:45:22: warning: symbol
    | 'ene_ub6250_usb_ids' was not declared. Should it
    | be static?
    |
    | drivers/usb/storage/ene_ub6250.c:780:5: warning: symbol
    | 'ms_lib_alloc_logicalmap' was not declared. Should it
    | be static?
    |
    | drivers/usb/storage/ene_ub6250.c:2251:5: warning: symbol
    | 'ms_scsi_irp' was not declared. Should it be static?
    |
    | drivers/usb/storage/ene_ub6250.c:638:29: warning: right shift by bigger
    | than source value
    |
    | drivers/usb/storage/ene_ub6250.c:639:29: warning: right shift by bigger
    | than source value

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

    Felipe Balbi
     
  • Fix the following sparse warning:

    | drivers/usb/storage/datafab.c:91:22: warning: symbol
    | 'datafab_usb_ids' was not declared. Should it
    | be static?

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

    Felipe Balbi
     
  • Fix the following sparse warning:

    | drivers/usb/storage/cypress_atacb.c:46:22: warning:
    | symbol 'cypress_usb_ids' was not declared. Should
    | it be static?

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

    Felipe Balbi
     
  • Fix the following warning:

    | drivers/usb/storage/alauda.c:142:22: warning: symbol
    | 'alauda_usb_ids' was not declared. Should it
    | be static?

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

    Felipe Balbi
     
  • Fix the following compile warning:

    | drivers/usb/storage/ene_ub6250.c: In function ‘ms_scsi_write’:
    | drivers/usb/storage/ene_ub6250.c:1728:6: warning: ‘result’ may \
    | be used uninitialized in this function [-Wuninitialized]
    | drivers/usb/storage/ene_ub6250.c:1795:77: warning: ‘offset’ may \
    | be used uninitialized in this function [-Wuninitialized]

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

    Felipe Balbi
     

15 Nov, 2011

1 commit

  • The 8020i protocol (also 8070i and QIC-157) uses 12-byte commands;
    shorter commands must be padded. Simon Detheridge reports that his
    3-TB USB disk drive claims to use the 8020i protocol (which is
    normally meant for ATAPI devices like CD drives), and because of its
    large size, the disk drive requires the use of 16-byte commands.
    However the usb_stor_pad12_command() routine in usb-storage always
    sets the command length to 12, making the drive impossible to use.

    Since the SFF-8020i specification allows for 16-byte commands in
    future extensions, we may as well accept them. This patch (as1490)
    changes usb_stor_pad12_command() to leave commands larger than 12
    bytes alone rather than truncating them.

    Signed-off-by: Alan Stern
    Tested-by: Simon Detheridge
    CC: Matthew Dharm
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     

01 Nov, 2011

2 commits


25 Oct, 2011

1 commit

  • * 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (260 commits)
    usb: renesas_usbhs: fixup inconsistent return from usbhs_pkt_push()
    usb/isp1760: Allow to optionally trigger low-level chip reset via GPIOLIB.
    USB: gadget: midi: memory leak in f_midi_bind_config()
    USB: gadget: midi: fix range check in f_midi_out_open()
    QE/FHCI: fixed the CONTROL bug
    usb: renesas_usbhs: tidyup for smatch warnings
    USB: Fix USB Kconfig dependency problem on 85xx/QoirQ platforms
    EHCI: workaround for MosChip controller bug
    usb: gadget: file_storage: fix race on unloading
    USB: ftdi_sio.c: Use ftdi async_icount structure for TIOCMIWAIT, as in other drivers
    USB: ftdi_sio.c:Fill MSR fields of the ftdi async_icount structure
    USB: ftdi_sio.c: Fill LSR fields of the ftdi async_icount structure
    USB: ftdi_sio.c:Fill TX field of the ftdi async_icount structure
    USB: ftdi_sio.c: Fill the RX field of the ftdi async_icount structure
    USB: ftdi_sio.c: Basic icount infrastructure for ftdi_sio
    usb/isp1760: Let OF bindings depend on general CONFIG_OF instead of PPC_OF .
    USB: ftdi_sio: Support TI/Luminary Micro Stellaris BD-ICDI Board
    USB: Fix runtime wakeup on OHCI
    xHCI/USB: Make xHCI driver have a BOS descriptor.
    usb: gadget: add new usb gadget for ACM and mass storage
    ...

    Linus Torvalds
     

18 Sep, 2011

2 commits


15 Sep, 2011

2 commits


10 Sep, 2011

1 commit

  • This patch solves two things:
    1) Enables autosense emulation code to correctly
    interpret descriptor format sense data, and
    2) Fixes a bug whereby the autosense emulation
    code would overwrite descriptor format sense data
    with SENSE KEY HARDWARE ERROR in fixed format, to
    incorrectly look like this:

    Oct 21 14:11:07 localhost kernel: sd 7:0:0:0: [sdc] Sense Key : Recovered Error [current] [descriptor]
    Oct 21 14:11:07 localhost kernel: Descriptor sense data with sense descriptors (in hex):
    Oct 21 14:11:07 localhost kernel: 72 01 04 1d 00 00 00 0e 09 0c 00 00 00 00 00 00
    Oct 21 14:11:07 localhost kernel: 00 4f 00 c2 00 50
    Oct 21 14:11:07 localhost kernel: sd 7:0:0:0: [sdc] ASC=0x4 ASCQ=0x1d

    Signed-off-by: Luben Tuikov
    Acked-by: Alan Stern
    Acked-by: Matthew Dharm
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Luben Tuikov
     

25 Aug, 2011

1 commit

  • This patch changes rts51x_read_mem, rts51x_write_mem, and rts51x_read_status to
    allocate temporary buffers with kmalloc. This way stack addresses are not used
    for DMA when these functions call rts51x_bulk_transport.

    Signed-off-by: Adam Cozzette
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Adam Cozzette
     

23 Aug, 2011

1 commit

  • Scanning cannot be run during suspend or hibernation, but if
    usb-stor-scan freezes another thread waiting on scanning to
    complete may fail to freeze.

    However, if usb-stor-scan is left freezable without ever actually
    freezing then the freezer will wait on it to exit, and threads
    waiting for scanning to finish will no longer be blocked. One
    problem with this approach is that usb-stor-scan has a delay to
    wait for devices to settle (which is currently the only point where
    it can freeze). To work around this we can request that the freezer
    send a fake signal when freezing, then use interruptible sleep to
    wake the thread early when freezing happens.

    To make this happen, the following changes are made to
    usb-stor-scan:

    * Use set_freezable_with_signal() instead of set_freezable() to
    request a fake signal when freezing

    * Use wait_event_interruptible_timeout() instead of
    wait_event_freezable_timeout() to avoid freezing

    Signed-off-by: Seth Forshee
    Acked-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Seth Forshee
     

09 Aug, 2011

1 commit

  • Connecting the V2M to a Linux host results in a constant stream of
    errors spammed to the console, all of the form

    sd 1:0:0:0: ioctl_internal_command return code = 8070000
    : Sense Key : 0x4 [current]
    : ASC=0x0 ASCQ=0x0

    The errors appear to be otherwise harmless. Add an unusual_devs entry
    which eliminates all of the error messages.

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

    Nick Bowler