Message ID | 20200420121514.531533001@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=w1qd=6E=vger.kernel.org=stable-owner@kernel.org> 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=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham 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 542FAC3815B for <stable@archiver.kernel.org>; Mon, 20 Apr 2020 12:41:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 276852070B for <stable@archiver.kernel.org>; Mon, 20 Apr 2020 12:41:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587386497; bh=X2fDvyENdeVAPEi4xR7NUbVfmUWj1c8mEiQ43bYDMdI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=SURGfabQi8qG1mui9oXvoSVSCsiDihYZcnFR85vi3++JFlyOZITRuNE5CTLZ6DYg0 ziwppVN3bPH7ENGNIpmiiSlyhsOMA7r3Gn6yBn/paLDgzKmJ9bfPkJ33SbOAmQAcQ1 4P6fqs6z0/QZZBnWniCePGQQoUpMBHGRLGcbmJlM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728040AbgDTMlg (ORCPT <rfc822;stable@archiver.kernel.org>); Mon, 20 Apr 2020 08:41:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:34300 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726644AbgDTMle (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 20 Apr 2020 08:41:34 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A2BA92070B; Mon, 20 Apr 2020 12:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587386494; bh=X2fDvyENdeVAPEi4xR7NUbVfmUWj1c8mEiQ43bYDMdI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n/8OxMpYqS9tn/ltlwHD0DTilVvAukmERLO+LDu7S7KnkbQuyvRlXm4MZEO+sfoAh lUTD9yWPesHNhhDSyNxWVewNPxetwbdrCaghsszcHyNVR2+QABQK7FAUZHmI4XXopi 1fEp7eEOwPj8OFFzR3uLmIxUyD7rtxBvUeWWNUFE= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Colin Ian King <colin.king@canonical.com>, Mark Brown <broonie@kernel.org> Subject: [PATCH 5.5 38/65] ASoC: Intel: mrfld: fix incorrect check on p->sink Date: Mon, 20 Apr 2020 14:38:42 +0200 Message-Id: <20200420121514.531533001@linuxfoundation.org> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200420121505.909671922@linuxfoundation.org> References: <20200420121505.909671922@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/sound/soc/intel/atom/sst-atom-controls.c +++ b/sound/soc/intel/atom/sst-atom-controls.c @@ -1333,7 +1333,7 @@ int sst_send_pipe_gains(struct snd_soc_d dai->capture_widget->name); w = dai->capture_widget; snd_soc_dapm_widget_for_each_source_path(w, p) { - if (p->connected && !p->connected(w, p->sink)) + if (p->connected && !p->connected(w, p->source)) continue; if (p->connect && p->source->power &&