From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8F70C5ACC4 for ; Thu, 20 Feb 2020 00:02:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9D0C220656 for ; Thu, 20 Feb 2020 00:02:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726784AbgBTACw (ORCPT ); Wed, 19 Feb 2020 19:02:52 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:13377 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726691AbgBTACw (ORCPT ); Wed, 19 Feb 2020 19:02:52 -0500 Date: 20 Feb 2020 09:02:50 +0900 X-IronPort-AV: E=Sophos;i="5.70,462,1574089200"; d="scan'208";a="39535269" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 20 Feb 2020 09:02:50 +0900 Received: from mercury.renesas.com (unknown [10.166.252.133]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 7CF8A40F26F8; Thu, 20 Feb 2020 09:02:50 +0900 (JST) Message-ID: <87eeuqt9bb.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Jerome Brunet Cc: Mark Brown , Liam Girdwood , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: dpcm: remove confusing trace in dpcm_get_be() In-Reply-To: <20200219115048.934678-1-jbrunet@baylibre.com> References: <20200219115048.934678-1-jbrunet@baylibre.com> User-Agent: Wanderlust/2.15.9 Emacs/25.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jerome Thank you for your patch > Now that dpcm_get_be() is used in dpcm_end_walk_at_be(), it is not a error > if this function does not find a BE for the provided widget. Remove the > related dev_err() trace which is confusing since things might be working > as expected. > > When called from dpcm_add_paths(), it is an error if dpcm_get_be() fails to > find a BE for the provided widget. The necessary error trace is already > done in this case. > > Fixes: 027a48387183 ("ASoC: soc-pcm: use dpcm_get_be() at dpcm_end_walk_at_be()") > Cc: Kuninori Morimoto > Signed-off-by: Jerome Brunet > --- Acked-by: Kuninori Morimoto Thank you for your help !! Best regards --- Kuninori Morimoto