mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@somainline.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
	linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] slimbus: stream: handle unsupported bitrates for presence rate
Date: Fri, 30 Sep 2022 11:43:39 +0200	[thread overview]
Message-ID: <3e8b907d-413a-70be-d8bd-2ab8b53c3b9c@somainline.org> (raw)
In-Reply-To: <c3aafcdf-9e24-9fbb-b022-d7d1cf04b7b9@linaro.org>



On 30.09.2022 11:42, Krzysztof Kozlowski wrote:
> On 30/09/2022 11:20, Krzysztof Kozlowski wrote:
>> Handle errors of getting presence rate for unsupported stream bitrate,
>> instead of sending -EINVAL in change content message.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>>  drivers/slimbus/stream.c | 11 +++++++++--
>>  1 file changed, 9 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/slimbus/stream.c b/drivers/slimbus/stream.c
>> index f8eade1e0132..28fbecb3907d 100644
>> --- a/drivers/slimbus/stream.c
>> +++ b/drivers/slimbus/stream.c
>> @@ -204,7 +204,7 @@ int slim_stream_prepare(struct slim_stream_runtime *rt,
>>  {
>>  	struct slim_controller *ctrl = rt->dev->ctrl;
>>  	struct slim_port *port;
>> -	int num_ports, i, port_id;
>> +	int num_ports, i, port_id, prrate;
>>  
>>  	pr_err("%s:%d AAAA\n", __func__, __LINE__);
> 
> The context is from development tree. I'll rebase and send a v2.
I somehow didn't think it's out of the ordinary heh, my r-b still stands
for the changes.

Konrad
> 
> 
> Best regards,
> Krzysztof
> 

      reply	other threads:[~2022-09-30  9:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-30  9:20 Krzysztof Kozlowski
2022-09-30  9:20 ` [PATCH 2/2] slimbus: qcom-ngd-ctrl: add support for 44.1 Khz frequency Krzysztof Kozlowski
2022-09-30  9:32 ` [PATCH 1/2] slimbus: stream: handle unsupported bitrates for presence rate Konrad Dybcio
2022-09-30  9:42 ` Krzysztof Kozlowski
2022-09-30  9:43   ` Konrad Dybcio [this message]

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=3e8b907d-413a-70be-d8bd-2ab8b53c3b9c@somainline.org \
    --to=konrad.dybcio@somainline.org \
    --cc=agross@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=andersson@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=srinivas.kandagatla@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

all inboxes | Powered by JetHome®