lkml.org 
[lkml]   [2015]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.4 21/65] ath3k: add support of 13d3:3474 AR3012 device
    Date
    From: Dmitry Tunin <hanipouspilot@gmail.com>

    3.4.110-rc1 review patch. If anyone has any objections, please let me know.

    ------------------


    commit 0d0cef6183aec0fb6d0c9f00a09ff51ee086bbe2 upstream.

    BugLink: https://bugs.launchpad.net/bugs/1427680

    This device requires new firmware files
    AthrBT_0x11020100.dfu and ramps_0x11020100_40.dfu added to
    /lib/firmware/ar3k/ that are not included in linux-firmware yet.

    T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
    D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
    P: Vendor=13d3 ProdID=3474 Rev=00.01
    C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
    I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb

    Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Zefan Li <lizefan@huawei.com>
    ---
    drivers/bluetooth/ath3k.c | 2 ++
    drivers/bluetooth/btusb.c | 1 +
    2 files changed, 3 insertions(+)

    diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c
    index 52be498..4b8e03f 100644
    --- a/drivers/bluetooth/ath3k.c
    +++ b/drivers/bluetooth/ath3k.c
    @@ -104,6 +104,7 @@ static struct usb_device_id ath3k_table[] = {
    { USB_DEVICE(0x13d3, 0x3408) },
    { USB_DEVICE(0x13d3, 0x3423) },
    { USB_DEVICE(0x13d3, 0x3432) },
    + { USB_DEVICE(0x13d3, 0x3474) },

    /* Atheros AR5BBU12 with sflash firmware */
    { USB_DEVICE(0x0489, 0xE02C) },
    @@ -153,6 +154,7 @@ static struct usb_device_id ath3k_blist_tbl[] = {
    { USB_DEVICE(0x13d3, 0x3408), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x13d3, 0x3423), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x13d3, 0x3432), .driver_info = BTUSB_ATH3012 },
    + { USB_DEVICE(0x13d3, 0x3474), .driver_info = BTUSB_ATH3012 },

    /* Atheros AR5BBU22 with sflash firmware */
    { USB_DEVICE(0x0489, 0xE03C), .driver_info = BTUSB_ATH3012 },
    diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
    index f8a58db..bbd1e6c 100644
    --- a/drivers/bluetooth/btusb.c
    +++ b/drivers/bluetooth/btusb.c
    @@ -182,6 +182,7 @@ static struct usb_device_id blacklist_table[] = {
    { USB_DEVICE(0x13d3, 0x3408), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x13d3, 0x3423), .driver_info = BTUSB_ATH3012 },
    { USB_DEVICE(0x13d3, 0x3432), .driver_info = BTUSB_ATH3012 },
    + { USB_DEVICE(0x13d3, 0x3474), .driver_info = BTUSB_ATH3012 },

    /* Atheros AR5BBU12 with sflash firmware */
    { USB_DEVICE(0x0489, 0xe02c), .driver_info = BTUSB_IGNORE },
    --
    1.9.1


    \
     
     \ /
      Last update: 2015-10-20 03:01    [W:5.929 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site