[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <6F687D4D-95CB-47F5-80DE-DCB2EEDCA80F@holtmann.org>
Date: Mon, 9 Nov 2020 13:39:28 +0100
From: Marcel Holtmann <marcel@...tmann.org>
To: Kai-Heng Feng <kai.heng.feng@...onical.com>
Cc: Johan Hedberg <johan.hedberg@...il.com>, max.chou@...ltek.com,
alex_lu@...lsil.com.cn,
"open list:BLUETOOTH DRIVERS" <linux-bluetooth@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] Bluetooth: btrtl: Ask 8821C to drop old firmware
Hi Kai-Heng,
> Some platforms keep USB power even when they are powered off and in S5,
> this makes Realtek 8821C keep its firmware even after a cold boot, and
> make 8821C never load new firmware.
>
> So use vendor specific HCI command to ask 8821C drop its firmware after
> system shutdown.
>
> Newer firmware doesn't have this issue so we only use this trick for old
> 8821C firmware version.
>
> Suggested-by: Max Chou <max.chou@...ltek.com>
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@...onical.com>
> ---
> v2:
> - Fix incorrect parAnthesis on le16_to_cpu.
> - Ensure firmware gets re-uploaded in initialization.
>
> drivers/bluetooth/btrtl.c | 46 +++++++++++++++++++++++++++++++++++++++
> 1 file changed, 46 insertions(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists