Linux-ARM-MSM Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v2] Bluetooth: btqca: Reset download type to default
@ 2019-08-08  8:56 Balakrishna Godavarthi
  2019-08-08  9:11 ` Claire Chang
  2019-08-12 17:08 ` Marcel Holtmann
  0 siblings, 2 replies; 3+ messages in thread
From: Balakrishna Godavarthi @ 2019-08-08  8:56 UTC (permalink / raw)
  To: marcel, johan.hedberg, mka
  Cc: linux-bluetooth, hemantg, linux-arm-msm, rjliao, c_hbandi,
	tientzu, Balakrishna Godavarthi

This patch will reset the download flag to default value
before retrieving the download mode type.

Fixes: 32646db8cc28 ("Bluetooth: btqca: inject command complete event during fw download")
Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
---
v2: 
  * add fix tag.

---
 drivers/bluetooth/btqca.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/bluetooth/btqca.c b/drivers/bluetooth/btqca.c
index 2221935fac7e..9fb247c10855 100644
--- a/drivers/bluetooth/btqca.c
+++ b/drivers/bluetooth/btqca.c
@@ -140,6 +140,7 @@ static void qca_tlv_check_data(struct rome_config *config,
 	BT_DBG("Length\t\t : %d bytes", length);
 
 	config->dnld_mode = ROME_SKIP_EVT_NONE;
+	config->dnld_type = ROME_SKIP_EVT_NONE;
 
 	switch (config->type) {
 	case TLV_TYPE_PATCH:
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] Bluetooth: btqca: Reset download type to default
  2019-08-08  8:56 [PATCH v2] Bluetooth: btqca: Reset download type to default Balakrishna Godavarthi
@ 2019-08-08  9:11 ` Claire Chang
  2019-08-12 17:08 ` Marcel Holtmann
  1 sibling, 0 replies; 3+ messages in thread
From: Claire Chang @ 2019-08-08  9:11 UTC (permalink / raw)
  To: Balakrishna Godavarthi
  Cc: marcel, johan.hedberg, Matthias Kaehlcke, linux-bluetooth,
	hemantg, linux-arm-msm, Rocky Liao, c_hbandi

Tested-by: Claire Chang <tientzu@chromium.org>
Reviewed-by: Claire Chang <tientzu@chromium.org>

Thanks!


On Thu, Aug 8, 2019 at 4:56 PM Balakrishna Godavarthi
<bgodavar@codeaurora.org> wrote:
>
> This patch will reset the download flag to default value
> before retrieving the download mode type.
>
> Fixes: 32646db8cc28 ("Bluetooth: btqca: inject command complete event during fw download")
> Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
> ---
> v2:
>   * add fix tag.
>
> ---
>  drivers/bluetooth/btqca.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/bluetooth/btqca.c b/drivers/bluetooth/btqca.c
> index 2221935fac7e..9fb247c10855 100644
> --- a/drivers/bluetooth/btqca.c
> +++ b/drivers/bluetooth/btqca.c
> @@ -140,6 +140,7 @@ static void qca_tlv_check_data(struct rome_config *config,
>         BT_DBG("Length\t\t : %d bytes", length);
>
>         config->dnld_mode = ROME_SKIP_EVT_NONE;
> +       config->dnld_type = ROME_SKIP_EVT_NONE;
>
>         switch (config->type) {
>         case TLV_TYPE_PATCH:
> --
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] Bluetooth: btqca: Reset download type to default
  2019-08-08  8:56 [PATCH v2] Bluetooth: btqca: Reset download type to default Balakrishna Godavarthi
  2019-08-08  9:11 ` Claire Chang
@ 2019-08-12 17:08 ` Marcel Holtmann
  1 sibling, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2019-08-12 17:08 UTC (permalink / raw)
  To: Balakrishna Godavarthi
  Cc: Johan Hedberg, mka, linux-bluetooth, hemantg, linux-arm-msm,
	rjliao, c_hbandi, tientzu

Hi Balakrishna,

> This patch will reset the download flag to default value
> before retrieving the download mode type.
> 
> Fixes: 32646db8cc28 ("Bluetooth: btqca: inject command complete event during fw download")
> Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
> ---
> v2: 
>  * add fix tag.
> 
> ---
> drivers/bluetooth/btqca.c | 1 +
> 1 file changed, 1 insertion(+)

patch has been applied to bluetooth-stable tree.

Regards

Marcel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-08  8:56 [PATCH v2] Bluetooth: btqca: Reset download type to default Balakrishna Godavarthi
2019-08-08  9:11 ` Claire Chang
2019-08-12 17:08 ` Marcel Holtmann

Linux-ARM-MSM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-arm-msm/0 linux-arm-msm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-msm linux-arm-msm/ https://lore.kernel.org/linux-arm-msm \
		linux-arm-msm@vger.kernel.org linux-arm-msm@archiver.kernel.org
	public-inbox-index linux-arm-msm


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-arm-msm


AGPL code for this site: git clone https://public-inbox.org/ public-inbox