Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7153rwb; Mon, 28 Nov 2022 16:24:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf4NlX6krt/0A4MWqS8kKhVHph+yMGTZaZXr62pvYCLdAaT8CWSZfRcrl88sIXx/JT4BSg5I X-Received: by 2002:a17:90b:48c8:b0:20b:16bc:8493 with SMTP id li8-20020a17090b48c800b0020b16bc8493mr57676450pjb.210.1669681493554; Mon, 28 Nov 2022 16:24:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669681493; cv=none; d=google.com; s=arc-20160816; b=AdhMx3j4OjUgqPfdmxIKI5b7xZpunvpFYECe0ezouuKoZhGnHELM7BuEHHjfvc9+/B p9m9+kjLl9j8WC2+ZfeIfRHFtpyKQT5cLeFpiwJoe66ebQSVvpvjya3AF4GsNCbrCer1 tmN2S6TPYCQ9S0aQDvgTzCpPS7l9IuuHlDKwrlhNAAlnYMaGiiCImfD1Mpflfj2FBwu/ pAEujnTkVj2KUYrQ/S8Gkr1EDxjAejSreUKMXcaD/M2TDEvE31EiTlkBLTLa9lNZ2/vx gPZRznr+DRg6wDOf/xFrKZhqVQ/hPUUUR2to4JURTcmmCDJHvhxSYEtddSXk62qRY+Hi o0Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=afOr2fmIQC6dBJfLAFZ1lEeNOcz8tKXWZ8GJTXwEGZg=; b=eLXxOUebDNq9HPWqwJ1YCuy+fEph6KvRsrGNtF3PQIAv83jk3aj42Ipp5VDxaYOPdr ZaT2Qfe5fQGTaWedEG0ci7IyaYlAsXSeNP6iJk6D4pGjVApDxFTqsA9yloGgJ4ZyP3iI teu8zZ2sFZQMIDw1l+IlUdFVMmX9/1NlaHp2jFvR+W2B6OrNKjdsk2h7QYEPsJ/FtNa/ TLi8JmwAPty5imWFVBAnL9SJQITv7UrwOABtb6uYC2cGnXE1beASeMonQZRtH1ZK9c98 BzruZycknhRsXHhopv2OD/WAfWTUZDktqMaLhwtbKuJFndeP2TRBkZ5C23LqzqJ07vhE S+pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YyohEtJ6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k13-20020aa79d0d000000b00563ab8e5e83si12752823pfp.370.2022.11.28.16.24.43; Mon, 28 Nov 2022 16:24:53 -0800 (PST) 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; dkim=pass header.i=@chromium.org header.s=google header.b=YyohEtJ6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234805AbiK2AUP (ORCPT + 83 others); Mon, 28 Nov 2022 19:20:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234781AbiK2AUO (ORCPT ); Mon, 28 Nov 2022 19:20:14 -0500 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 831DA3123A for ; Mon, 28 Nov 2022 16:20:12 -0800 (PST) Received: by mail-ej1-x62b.google.com with SMTP id gu23so11790701ejb.10 for ; Mon, 28 Nov 2022 16:20:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=afOr2fmIQC6dBJfLAFZ1lEeNOcz8tKXWZ8GJTXwEGZg=; b=YyohEtJ6qLap4dyHJjxB9q2A69k7/SoCS0qeZMEZLc1ZFBUVRVGlQ33xoNkciPPQ56 x5DP20xjts37dK6LNApMJpL4S8D49y38crgVO+gt38n7cXyWChhanVz4BFjZkpVFGVP6 OiwfsSQKDsFq3Bxwfk0h8k9bAO9hOq4Ues8Rg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=afOr2fmIQC6dBJfLAFZ1lEeNOcz8tKXWZ8GJTXwEGZg=; b=YDjvvs7G/Y25gADRgwspSaBK+/wWF0475euSQUb0C8yRT+e5H0o0aZ1HGKVYSpR45y hQcuen5nMFZQcJ45NgZv0GXdGiHj90B8/8Lz3g4woa9zkugJFVNVrGCMKuiE4fGSUL67 BLDZyDFYDD4o/FJaw2BsyPm4/+M7p8WQaHNUPhmIcFwk6U9T+MCX9qKnZ0i58qEL6VIN KCqB9t04wrRvkvoBMDWZfle29VEYc/3fejtvWuIPkVxu5ajrMH2tt6rmtD/iba4M3ZMK YgnrzOIlm5/h5ZwNKrghVfRGYuWmgjsGGTvkKB8voA1t4PwWB3XyBJED2m9qBCUspexq 675w== X-Gm-Message-State: ANoB5plhdqCKSMlOUogMkfP+cihW5bdcm2sUwfkuSfDGgfKChPs/+ExC yIAA5FHtGHsGFiosPy72ReHbUrw1CelHkosq X-Received: by 2002:a17:906:d20a:b0:7a9:8d8e:c3df with SMTP id w10-20020a170906d20a00b007a98d8ec3dfmr30102887ejz.519.1669681210113; Mon, 28 Nov 2022 16:20:10 -0800 (PST) Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com. [209.85.128.47]) by smtp.gmail.com with ESMTPSA id la18-20020a170907781200b007b2b98e1f2dsm5450686ejc.122.2022.11.28.16.20.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Nov 2022 16:20:08 -0800 (PST) Received: by mail-wm1-f47.google.com with SMTP id v124-20020a1cac82000000b003cf7a4ea2caso13074512wme.5 for ; Mon, 28 Nov 2022 16:20:07 -0800 (PST) X-Received: by 2002:a05:600c:3109:b0:3cf:5731:53db with SMTP id g9-20020a05600c310900b003cf573153dbmr43823918wmo.85.1669681207310; Mon, 28 Nov 2022 16:20:07 -0800 (PST) MIME-Version: 1.0 References: <20221129001633.v2.1.I8d1993f41f0da1eac0ecba321678ac489f9c0b9b@changeid> In-Reply-To: <20221129001633.v2.1.I8d1993f41f0da1eac0ecba321678ac489f9c0b9b@changeid> From: Doug Anderson Date: Mon, 28 Nov 2022 16:19:55 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] ASoC: qcom: lpass-sc7180: Delete redundant error log from _resume() To: Matthias Kaehlcke Cc: Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Srinivasa Rao Mandadapu , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Judy Hsiao , Banajit Goswami Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Hi, On Mon, Nov 28, 2022 at 4:16 PM Matthias Kaehlcke wrote: > > sc7180_lpass_dev_resume() logs an error if clk_bulk_prepare_enable() > fails. The clock framework already generates error logs if anything > goes wrong, so the logging in _resume() is redundant, drop it. > > Signed-off-by: Matthias Kaehlcke > --- > > Changes in v2: > - removed the log in the error path (requested by Doug) > - updated subject (was "ASoC: qcom: lpass-sc7180: Return 0 instead > of 'ret' at the end of _resume()") and commit message > > sound/soc/qcom/lpass-sc7180.c | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) Reviewed-by: Douglas Anderson