From: Balakrishna Godavarthi <bgodavar@codeaurora.org>
To: Matthias Kaehlcke <mka@chromium.org>
Cc: Balakrishna Godavarthi <bgodavar@bgodavar-linux.qualcomm.com>,
marcel@holtmann.org, johan.hedberg@gmail.com,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-bluetooth@vger.kernel.org, thierry.escande@linaro.org,
rtatiya@codeaurora.org, hemantg@codeaurora.org,
linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v11 3/7] Bluetooth: btqca: Redefine qca_uart_setup() to generic function.
Date: Tue, 31 Jul 2018 15:50:57 +0530 [thread overview]
Message-ID: <c82dd36d4935a2fad015847a9fd49fc0@codeaurora.org> (raw)
In-Reply-To: <20180730183708.GA68975@google.com>
Hi Matthias,
On 2018-07-31 00:07, Matthias Kaehlcke wrote:
> On Fri, Jul 27, 2018 at 07:43:16PM +0530, Balakrishna Godavarthi wrote:
>> From: Balakrishna Godavarthi <bgodavar@codeaurora.org>
>>
>> Redefinition of qca_uart_setup will help future Qualcomm Bluetooth
>> SoC, to use the same function instead of duplicating the function.
>> Added new arguments soc_type and soc_ver to the functions.
>>
>> These arguments will help to decide type of firmware files
>> to be loaded into Bluetooth chip.
>> soc_type holds the Bluetooth chip connected to APPS processor.
>> soc_ver holds the Bluetooth chip version.
>>
>> Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
>> Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
>> ---
>> Changes in v11:
>> * added error log in qca_read_soc_version() instead of
>> qca_setup()
>> ---
>> drivers/bluetooth/btqca.c | 23 ++++++++++-------------
>> drivers/bluetooth/btqca.h | 13 +++++++++++--
>> drivers/bluetooth/hci_qca.c | 10 +++++++++-
>> 3 files changed, 30 insertions(+), 16 deletions(-)
>>
>> diff --git a/drivers/bluetooth/btqca.c b/drivers/bluetooth/btqca.c
>> index c5cf9cab438a..b2163bf75b95 100644
>> --- a/drivers/bluetooth/btqca.c
>> +++ b/drivers/bluetooth/btqca.c
>> @@ -85,6 +85,12 @@ int qca_read_soc_version(struct hci_dev *hdev, u32
>> *soc_version)
>> out:
>> kfree_skb(skb);
>>
>> + if (!err && *soc_version == 0)
>> + err = -EILSEQ;
>
> nit: better do this right after assigning SoC version. No need to
> respin the series just for this though.
[Bala]: will update.
--
Regards
Balakrishna.
next prev parent reply other threads:[~2018-07-31 10:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-27 14:13 [PATCH v11 0/7] Enable Bluetooth functionality for WCN3990 Balakrishna Godavarthi
2018-07-27 14:13 ` [PATCH v11 1/7] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3990 Balakrishna Godavarthi
2018-07-27 14:13 ` [PATCH v11 2/7] Bluetooth: btqca: Rename ROME specific functions to generic functions Balakrishna Godavarthi
2018-07-27 14:13 ` [PATCH v11 3/7] Bluetooth: btqca: Redefine qca_uart_setup() to generic function Balakrishna Godavarthi
2018-07-30 18:37 ` Matthias Kaehlcke
2018-07-31 10:20 ` Balakrishna Godavarthi [this message]
2018-07-27 14:13 ` [PATCH v11 4/7] Bluetooth: hci_qca: Add wrapper functions for setting UART speed Balakrishna Godavarthi
2018-07-27 14:13 ` [PATCH v11 5/7] Bluetooth: hci_qca: Enable 3.2 Mbps operating speed Balakrishna Godavarthi
2018-07-27 14:13 ` [PATCH v11 6/7] Bluetooth: btqca: Add wcn3990 firmware download support Balakrishna Godavarthi
2018-07-27 14:13 ` [PATCH v11 7/7] Bluetooth: hci_qca: Add support for Qualcomm Bluetooth chip wcn3990 Balakrishna Godavarthi
2018-07-30 20:55 ` Matthias Kaehlcke
2018-07-31 14:43 ` Balakrishna Godavarthi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c82dd36d4935a2fad015847a9fd49fc0@codeaurora.org \
--to=bgodavar@codeaurora.org \
--cc=bgodavar@bgodavar-linux.qualcomm.com \
--cc=devicetree@vger.kernel.org \
--cc=hemantg@codeaurora.org \
--cc=johan.hedberg@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=mka@chromium.org \
--cc=rtatiya@codeaurora.org \
--cc=thierry.escande@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).