18 Sep, 2011

3 commits

  • Today I noticed that the usb bluetooth adapter (BCM2046B1) on my 2011
    mac mini was not working. I've created a patch to get it going.

    Signed-off-by: Jurgen Kramer
    Signed-off-by: Gustavo F. Padovan

    Jurgen Kramer
     
  • This patch against current git adds the hardware ID for the Apple
    MacBookAir4,1, released in July 2011. The device features a BCM2046
    USB chip. The patch was inspired by the previous modifications adding
    support for the MacBookAir3,x.

    Signed-off-by: Pieter-Augustijn Van Malleghem
    Signed-off-by: Gustavo F. Padovan

    Pieter-Augustijn Van Malleghem
     
  • Reordered the BT ST channel registration, to make sure that the
    event channel is registered before all others. This prevents a
    situation where incoming events may cause kernel panic in the ST
    driver if the event channel is not yet registered to handle
    incoming events.In addition, the deregistration of the channels
    was also modified, to be in the reversed order of the registration,
    to allow the event channel to be the last one unregistered.

    Signed-off-by: Chen Ganir
    Signed-off-by: Gustavo F. Padovan

    Chen Ganir
     

12 Aug, 2011

2 commits

  • Blacklist Toshiba-branded AR3011 based AR5B195 [0930:0215] and add to
    ath3k.c for firmware loading.

    Signed-off-by: Ricardo Mendoza
    Signed-off-by: Gustavo F. Padovan

    Ricardo Mendoza
     
  • Disabling the bluetooth usb device embedded in (some) ThinkPads tends to
    lead to errors like these:
    btusb_bulk_complete: hci0 urb ffff88011b9bfd68 failed to resubmit (19)
    btusb_intr_complete: hci0 urb ffff88011b46a318 failed to resubmit (19)
    btusb_bulk_complete: hci0 urb ffff88011b46a000 failed to resubmit (19)

    That is because usb_disconnect() doesn't "quiesces" pending urbs.

    Disconnecting a device is a normal thing to happen so it's no big deal
    that usb_submit_urb() returns -ENODEV. The simplest way to get rid of
    these errors is to stop treating that return as an error. Trivial,
    actually.

    While we're at it, add comments to be explicit about the reasons we're
    not complaining about -EPERM and -ENODEV.

    Signed-off-by: Paul Bolle
    Signed-off-by: Gustavo F. Padovan

    Paul Bolle
     

15 Jul, 2011

1 commit


02 Jul, 2011

1 commit

  • The new Ath3k needs to download patch and radio table,
    and it keeps same PID/VID even after downloading the patch and radio
    table. This patch is to use the bcdDevice (Device Release Number) to
    judge whether the chip has been patched or not. The init bcdDevice
    value of the chip is 0x0001, this value increases after patch and
    radio table downloading.

    Signed-off-by: Steven.Li
    Signed-off-by: Gustavo F. Padovan

    Steven.Li
     

18 Jun, 2011

1 commit


11 Jun, 2011

1 commit


10 Jun, 2011

1 commit


04 Jun, 2011

1 commit

  • This reverts commit b1c43f82c5aa265442f82dba31ce985ebb7aa71c.

    It was broken in so many ways, and results in random odd pty issues.

    It re-introduced the buggy schedule_work() in flush_to_ldisc() that can
    cause endless work-loops (see commit a5660b41af6a: "tty: fix endless
    work loop when the buffer fills up").

    It also used an "unsigned int" return value fo the ->receive_buf()
    function, but then made multiple functions return a negative error code,
    and didn't actually check for the error in the caller.

    And it didn't actually work at all. BenH bisected down odd tty behavior
    to it:
    "It looks like the patch is causing some major malfunctions of the X
    server for me, possibly related to PTYs. For example, cat'ing a
    large file in a gnome terminal hangs the kernel for -minutes- in a
    loop of what looks like flush_to_ldisc/workqueue code, (some ftrace
    data in the quoted bits further down).

    ...

    Some more data: It -looks- like what happens is that the
    flush_to_ldisc work queue entry constantly re-queues itself (because
    the PTY is full ?) and the workqueue thread will basically loop
    forver calling it without ever scheduling, thus starving the consumer
    process that could have emptied the PTY."

    which is pretty much exactly the problem we fixed in a5660b41af6a.

    Milton Miller pointed out the 'unsigned int' issue.

    Reported-by: Benjamin Herrenschmidt
    Reported-by: Milton Miller
    Cc: Stefan Bigler
    Cc: Toby Gray
    Cc: Felipe Balbi
    Cc: Greg Kroah-Hartman
    Cc: Alan Cox
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

25 May, 2011

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6:
    pcmcia: Make struct pcmcia_device_id const, sound drivers edition
    staging: pcmcia: Convert pcmcia_device_id declarations to const
    pcmcia: Convert pcmcia_device_id declarations to const
    pcmcia: Make declaration and uses of struct pcmcia_device_id const
    pcmcia/sa1100: put sa11x0_pcmcia_hw_init[] to .devinit.data

    Linus Torvalds
     

24 May, 2011

1 commit

  • * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (48 commits)
    serial: 8250_pci: add support for Cronyx Omega PCI multiserial board.
    tty/serial: Fix break handling for PORT_TEGRA
    tty/serial: Add explicit PORT_TEGRA type
    n_tracerouter and n_tracesink ldisc additions.
    Intel PTI implementaiton of MIPI 1149.7.
    Kernel documentation for the PTI feature.
    export kernel call get_task_comm().
    tty: Remove to support serial for S5P6442
    pch_phub: Support new device ML7223
    8250_pci: Add support for the Digi/IBM PCIe 2-port Adapter
    ASoC: Update cx20442 for TTY API change
    pch_uart: Support new device ML7223 IOH
    parport: Use request_muxed_region for IT87 probe and lock
    tty/serial: add support for Xilinx PS UART
    n_gsm: Use print_hex_dump_bytes
    drivers/tty/moxa.c: Put correct tty value
    TTY: tty_io, annotate locking functions
    TTY: serial_core, remove superfluous set_task_state
    TTY: serial_core, remove invalid test
    Char: moxa, fix locking in moxa_write
    ...

    Fix up trivial conflicts in drivers/bluetooth/hci_ldisc.c and
    drivers/tty/serial/Makefile.

    I did the hci_ldisc thing as an evil merge, cleaning things up.

    Linus Torvalds
     

17 May, 2011

1 commit


12 May, 2011

1 commit


06 May, 2011

1 commit

  • Saves about 50KB of data.

    Old/new size of all objects:
    text data bss dec hex filename
    563015 80096 130684 773795 bcea3 (TOTALS)
    610916 32256 130632 773804 bceac (TOTALS)

    Signed-off-by: Joe Perches
    Acked-by: Kurt Van Dijck (for drivers/net/can/softing/softing_cs.c)
    Signed-off-by: Dominik Brodowski

    Joe Perches
     

26 Apr, 2011

1 commit


23 Apr, 2011

1 commit

  • it makes it simpler to keep track of the amount of
    bytes received and simplifies how flush_to_ldisc counts
    the remaining bytes. It also fixes a bug of lost bytes
    on n_tty when flushing too many bytes via the USB
    serial gadget driver.

    Tested-by: Stefan Bigler
    Tested-by: Toby Gray
    Signed-off-by: Felipe Balbi
    Signed-off-by: Greg Kroah-Hartman

    Felipe Balbi
     

13 Apr, 2011

4 commits


08 Apr, 2011

1 commit


01 Apr, 2011

2 commits


31 Mar, 2011

1 commit


25 Mar, 2011

2 commits


19 Mar, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (47 commits)
    doc: CONFIG_UNEVICTABLE_LRU doesn't exist anymore
    Update cpuset info & webiste for cgroups
    dcdbas: force SMI to happen when expected
    arch/arm/Kconfig: remove one to many l's in the word.
    asm-generic/user.h: Fix spelling in comment
    drm: fix printk typo 'sracth'
    Remove one to many n's in a word
    Documentation/filesystems/romfs.txt: fixing link to genromfs
    drivers:scsi Change printk typo initate -> initiate
    serial, pch uart: Remove duplicate inclusion of linux/pci.h header
    fs/eventpoll.c: fix spelling
    mm: Fix out-of-date comments which refers non-existent functions
    drm: Fix printk typo 'failled'
    coh901318.c: Change initate to initiate.
    mbox-db5500.c Change initate to initiate.
    edac: correct i82975x error-info reported
    edac: correct i82975x mci initialisation
    edac: correct commented info
    fs: update comments to point correct document
    target: remove duplicate include of target/target_core_device.h from drivers/target/target_core_hba.c
    ...

    Trivial conflict in fs/eventpoll.c (spelling vs addition)

    Linus Torvalds
     

17 Mar, 2011

3 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1480 commits)
    bonding: enable netpoll without checking link status
    xfrm: Refcount destination entry on xfrm_lookup
    net: introduce rx_handler results and logic around that
    bonding: get rid of IFF_SLAVE_INACTIVE netdev->priv_flag
    bonding: wrap slave state work
    net: get rid of multiple bond-related netdevice->priv_flags
    bonding: register slave pointer for rx_handler
    be2net: Bump up the version number
    be2net: Copyright notice change. Update to Emulex instead of ServerEngines
    e1000e: fix kconfig for crc32 dependency
    netfilter ebtables: fix xt_AUDIT to work with ebtables
    xen network backend driver
    bonding: Improve syslog message at device creation time
    bonding: Call netif_carrier_off after register_netdevice
    bonding: Incorrect TX queue offset
    net_sched: fix ip_tos2prio
    xfrm: fix __xfrm_route_forward()
    be2net: Fix UDP packet detected status in RX compl
    Phonet: fix aligned-mode pipe socket buffer header reserve
    netxen: support for GbE port settings
    ...

    Fix up conflicts in drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
    with the staging updates.

    Linus Torvalds
     
  • * 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (961 commits)
    staging: hv: fix memory leaks
    staging: hv: Remove NULL check before kfree
    Staging: hv: Get rid of vmbus_child_dev_add()
    Staging: hv: Change the signature for vmbus_child_device_register()
    Staging: hv: Get rid of vmbus_cleanup() function
    Staging: hv: Get rid of vmbus_dev_rm() function
    Staging: hv: Change the signature for vmbus_on_isr()
    Staging: hv: Eliminate vmbus_event_dpc()
    Staging: hv: Get rid of the function vmbus_msg_dpc()
    Staging: hv: Change the signature for vmbus_cleanup()
    Staging: hv: Simplify root device management
    staging: rtl8192e: Don't copy dev pointer to skb
    staging: rtl8192e: Pass priv to cmdpkt functions
    staging: rtl8192e: Pass priv to firmware download functions
    staging: rtl8192e: Pass priv to rtl8192_interrupt
    staging: rtl8192e: Pass rtl8192_priv to dm functions
    staging: rtl8192e: Pass ieee80211_device to callbacks
    staging: rtl8192e: Pass ieee80211_device to callbacks
    staging: rtl8192e: Pass ieee80211_device to callbacks
    staging: rtl8192e: Pass ieee80211_device to callbacks
    ...

    Linus Torvalds
     
  • * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (76 commits)
    pch_uart: reference clock on CM-iTC
    pch_phub: add new device ML7213
    n_gsm: fix UIH control byte : P bit should be 0
    n_gsm: add a documentation
    serial: msm_serial_hs: Add MSM high speed UART driver
    tty_audit: fix tty_audit_add_data live lock on audit disabled
    tty: move cd1865.h to drivers/staging/tty/
    Staging: tty: fix build with epca.c driver
    pcmcia: synclink_cs: fix prototype for mgslpc_ioctl()
    Staging: generic_serial: fix double locking bug
    nozomi: don't use flush_scheduled_work()
    tty/serial: Relax the device_type restriction from of_serial
    MAINTAINERS: Update HVC file patterns
    tty: phase out of ioctl file pointer for tty3270 as well
    tty: forgot to remove ipwireless from drivers/char/pcmcia/Makefile
    pch_uart: Fix DMA channel miss-setting issue.
    pch_uart: fix exclusive access issue
    pch_uart: fix auto flow control miss-setting issue
    pch_uart: fix uart clock setting issue
    pch_uart : Use dev_xxx not pr_xxx
    ...

    Fix up trivial conflicts in drivers/misc/pch_phub.c (same patch applied
    twice, then changes to the same area in one branch)

    Linus Torvalds
     

04 Mar, 2011

1 commit


25 Feb, 2011

1 commit


24 Feb, 2011

2 commits

  • This reverts commit 556ea928f78a390fe16ae584e6433dff304d3014.

    Jeff Chua reports that it can cause some bluetooth devices (he mentions
    an Bluetooth Intermec scanner) to just stop responding after a while
    with messages like

    [ 4533.361959] btusb 8-1:1.0: no reset_resume for driver btusb?
    [ 4533.361964] btusb 8-1:1.1: no reset_resume for driver btusb?

    from the kernel. See also

    https://bugzilla.kernel.org/show_bug.cgi?id=26182

    for other reports.

    Reported-by: Jeff Chua
    Reported-by: Andrew Meakovski
    Reported-by: Jim Faulkner
    Acked-by: Greg KH
    Acked-by: Matthew Garrett
    Acked-by: Gustavo F. Padovan
    Cc: stable@kernel.org (for 2.6.37)
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • This is the bluetooth protocol driver for the TI WiLink7 chipsets.
    Texas Instrument's WiLink chipsets combine wireless technologies
    like BT, FM, GPS and WLAN onto a single chip.

    This Bluetooth driver works on top of the TI_ST shared transport
    line discipline driver which also allows other drivers like
    FM V4L2 and GPS character driver to make use of the same UART interface.

    Kconfig and Makefile modifications to enable the Bluetooth
    driver for Texas Instrument's WiLink 7 chipset.

    Signed-off-by: Pavan Savoy
    Acked-by: Gustavo F. Padovan
    Signed-off-by: Greg Kroah-Hartman

    Pavan Savoy
     

19 Feb, 2011

1 commit


18 Feb, 2011

1 commit


17 Feb, 2011

2 commits