Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3398866rwb; Fri, 30 Sep 2022 03:04:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5hgfIBrwjDYlbbfiB4t1vbhMkAF2/4/qqvnVpMroGJaUHYFloEegDO5ZLlpZRETVBYxZvc X-Received: by 2002:a17:906:9752:b0:783:96ed:2e1d with SMTP id o18-20020a170906975200b0078396ed2e1dmr6056768ejy.166.1664532252416; Fri, 30 Sep 2022 03:04:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664532252; cv=none; d=google.com; s=arc-20160816; b=g/H8NBDNkp0icdkoAW7NeGR/GbajxuXMtfy+mntW9wDf22HTAv0r1TKys4RLRlJFyT iygW4wWnZz0ad2EjeuUnCtM4mxeg/0GN57+c1X1bfB0aC2NpqtDIgCriydFlt/ukmlAw v/dSHwWJIWErmcAvZtr997QkQxjgiH/c0UNEwA6VMSo8Zi8dsmT25ObLBWum6ft/Fszh ZAlRYLskSyRUOwf5fVBI7uy6RCXmrSt8zOvkGscApdG+AqhaIzWh6GZfA95/OkV3iNSk XCC3QpmEyEcf8+OjQAp+cvY9SISYGOQ33D8wET9BcN2FlCdAq62LMlN8ILjtfh3k26+F 2K+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id; bh=WwpaQ43WhxqEXuRSJTCcWvmBNihEY5UQvP8f02D3S4Y=; b=pvyEs/Lyn9k2BHYeoZ3jKcLE7yM40X2lKa5xVOy+tZbKqChiqDJpLd7X79Nbix2NaL SuJaFspRaj2oSNEp0tTuqCwxnWy65zV6BnHTNJNwa7yhJDbJoCtH5k4kqm3wPwJ76AHo P9TXAbB00iAmqBr1jEj5PqChnCmmY+ho6iSezqtnTdBRRA32vg1Ah79icDILsqDrPHUj tpwyBU5EV1x/m+jsFx9J07lZzbnszuvKTgW3cBQlQqCuJf/rnPxifIJ2Y/R02G640q7L pcZIw3+Sq+vizKXre7/NCBnNQwFX+HRH3d+8MWilkBgK0Dx1ruasLcp3VI/2uCPmCGgo J/xw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o22-20020a170906975600b0077953fba3b3si1501716ejy.694.2022.09.30.03.03.46; Fri, 30 Sep 2022 03:04:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231509AbiI3Jnp (ORCPT + 99 others); Fri, 30 Sep 2022 05:43:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231485AbiI3Jnm (ORCPT ); Fri, 30 Sep 2022 05:43:42 -0400 Received: from m-r2.th.seeweb.it (m-r2.th.seeweb.it [5.144.164.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B51B8140F27 for ; Fri, 30 Sep 2022 02:43:41 -0700 (PDT) Received: from [192.168.1.101] (95.49.31.201.neoplus.adsl.tpnet.pl [95.49.31.201]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id AE8373F695; Fri, 30 Sep 2022 11:43:39 +0200 (CEST) Message-ID: <3e8b907d-413a-70be-d8bd-2ab8b53c3b9c@somainline.org> Date: Fri, 30 Sep 2022 11:43:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH 1/2] slimbus: stream: handle unsupported bitrates for presence rate Content-Language: en-US To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20220930092006.85982-1-krzysztof.kozlowski@linaro.org> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 >> --- >> 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 >