16 Jan, 2020

1 commit


06 Jul, 2019

1 commit


31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    59 temple place suite 330 boston ma 02111 1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1334 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070033.113240726@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

24 Apr, 2019

1 commit

  • Macro module_sdio_driver is used for drivers whose init and exit paths
    only register and unregister to SDIO API. So remove boilerplate code to
    make code simpler by using module_sdio_driver.

    Signed-off-by: Sean Wang
    Acked-by: Ulf Hansson
    Signed-off-by: Marcel Holtmann

    Sean Wang
     

14 Oct, 2018

1 commit


13 Dec, 2017

1 commit

  • BCM43341 devices soldered onto the PCB (non-removable) always (AFAICT)
    use an UART connection for bluetooth. But they also advertise btsdio
    support on their 3th sdio function, this causes 2 problems:

    1) A non functioning BT HCI getting registered

    2) Since the btsdio driver does not have suspend/resume callbacks,
    mmc_sdio_pre_suspend will return -ENOSYS, causing mmc_pm_notify()
    to react as if the SDIO-card is removed and since the slot is
    marked as non-removable it will never get detected as inserted again.
    Which results in wifi no longer working after a suspend/resume.

    This commit fixes both by making btsdio ignore BCM43341 devices
    when connected to a slot which is marked non-removable.

    Cc: stable@vger.kernel.org
    Signed-off-by: Hans de Goede
    Signed-off-by: Marcel Holtmann

    Hans de Goede
     

22 Jul, 2017

1 commit


10 Jul, 2016

1 commit

  • The HCI_BREDR naming is confusing since it actually stands for Primary
    Bluetooth Controller. Which is a term that has been used in the latest
    standard. However from a legacy point of view there only really have
    been Basic Rate (BR) and Enhanced Data Rate (EDR). Recent versions of
    Bluetooth introduced Low Energy (LE) and made this terminology a little
    bit confused since Dual Mode Controllers include BR/EDR and LE. To
    simplify this the name HCI_PRIMARY stands for the Primary Controller
    which can be a single mode or dual mode controller.

    Signed-off-by: Marcel Holtmann
    Signed-off-by: Johan Hedberg

    Marcel Holtmann
     

20 Nov, 2015

1 commit


05 Oct, 2015

2 commits


30 Dec, 2013

1 commit


24 Dec, 2013

1 commit


11 Oct, 2013

2 commits


07 Aug, 2012

1 commit


13 Feb, 2012

3 commits

  • The linux device model provides dev_set/get_drvdata so we can use this
    to save private driver data.
    This also removes several unnecessary casts.

    Signed-off-by: David Herrmann
    Acked-by: Marcel Holtmann
    Signed-off-by: Johan Hedberg

    David Herrmann
     
  • After unregistering an hci_dev object a bluetooth driver does not have
    any callbacks in the hci_dev structure left over. Therefore, there is no
    need to keep a reference to the module.

    Previously, we needed this to protect the hci-destruct callback.
    However, this callback is no longer available so we do not need this
    owner field, anymore. Drivers now call hci_unregister_dev() and they
    are done with the object.

    Signed-off-by: David Herrmann
    Acked-by: Marcel Holtmann
    Signed-off-by: Johan Hedberg

    David Herrmann
     
  • Instead of waiting for the hdev object to get freed we now free the
    private driver-internal data on SDIO shutdown. This allows us to remove
    the obsolete hci-destruct callback and free our data object right away
    after calling hci_unregister_dev(). The HCI-core does not call any
    callbacks after this so we are never called again and can safely exit
    the module.

    Signed-off-by: David Herrmann
    Acked-by: Marcel Holtmann
    Signed-off-by: Johan Hedberg

    David Herrmann
     

12 Oct, 2010

1 commit


27 Feb, 2010

1 commit


30 Nov, 2008

2 commits


27 Oct, 2008

1 commit


05 Feb, 2008

1 commit


22 Oct, 2007

1 commit