Re: [PATCH] Bluetooth: btsdio: Do not bind to non-removable BCM43341

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hans,

> 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@xxxxxxxxxxxxxxx
> Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
> ---
> drivers/bluetooth/btsdio.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux