Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp622082pxb; Tue, 5 Apr 2022 16:15:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHrpIg2n/1Mc6+DCFguX18lWAR4sz52BVzi/sdziaam6ZTLBE+NMdjhXvhCNBq8x2IjAUn X-Received: by 2002:a63:2b4f:0:b0:398:49ba:a268 with SMTP id r76-20020a632b4f000000b0039849baa268mr4766637pgr.546.1649200525550; Tue, 05 Apr 2022 16:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649200525; cv=none; d=google.com; s=arc-20160816; b=vfTyJHan/c5NLPX6artCdFAxWLxx314UG0woRI3iQtgTiIhrMy/ZDlDcw+sBOzWvI3 AxdZe1Pq3E0XVYMhAo5y1Bq9ne9EPC5zlI6zoUtXfsjGxjFs9qDxl37EtcnjGHkv9L3j oO9oHpVBhmoWvuFvuic7LSjFOxIL9F702lB9YIMT1iVRpU2N5WJY1LMgpnOuyg8UylTJ svV3Vw1RJDzC3WTO9JFlfK8YF5SY6/pV4ErnUiLKWmtQ4EM75GJtmLL1NjBbZ9WYq/jh Jb+9Y+bwE8riiSBZJxuSZ9t58WaWVBkObwNsDtpRKw2WIMyHGgwhT5tmIR1RcfQ0RViA r23w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=u/TcLVwd56VAHA3bJsluiK2XATNu1po8Py5PaNoz1pk=; b=eCI9h7c86covVLEzdTd1v2Eyg5Ru378luU+lQ/vYTu81TplFIp5mxvufc/DIkP0Bl1 sz5ghkSUCecty70A83orZFvOEJsrRamus0w2HCrc+BbnwEHv6w1ao8S9R+FxX6P+F3Gi Oeqbp+QSDiImnDEyCRfoUEWfRhm1tICBMpmRC5JmXHSHOtg7fL+MMOdR13jHuTf6Zn9s VaaDfQV0/IPJLncFymbxXtCEtqFvz3kHQbdT0HWDZ+dyCT/wIVv1EgIPVZg5cCLz9MRW oWM7HDH0MiudBiXMkrQT1AFyMZ4H0YUpjVIyQasB8EXuHV4JsEE/N5NEFGZOK32AO9D2 Agaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AoQccAlL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bm1-20020a656e81000000b003995724dcf2si4584144pgb.52.2022.04.05.16.15.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 16:15:25 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AoQccAlL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C215F21F76E; Tue, 5 Apr 2022 16:00:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378479AbiDEMX7 (ORCPT + 99 others); Tue, 5 Apr 2022 08:23:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245046AbiDEIxD (ORCPT ); Tue, 5 Apr 2022 04:53:03 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF2BDEA; Tue, 5 Apr 2022 01:50:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A191FB81BBF; Tue, 5 Apr 2022 08:50:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD54CC385A1; Tue, 5 Apr 2022 08:50:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649148632; bh=w1w5STSoU+1OvcgmNGv4Uzg0F4cQg98rLnw4UUo6UjQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AoQccAlLptqIpI6dpmb5ALB6QT7Z7ikY5QBbaK+gtQh+saDNifZylxAmJ+3LLHHw5 N2hccXu8P1WjorCkg4agsz9oUBqh4hNPzo+Cyyn8ta4Nbb7llaUn6wNtrzv2Mhcw2m QO/VDQ905FzGlKOYs5ux8yApfY3NmGzb0SvTDEb4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ranjani Sridharan , =?UTF-8?q?P=C3=A9ter=20Ujfalusi?= , Kai Vehmanen , Pierre-Louis Bossart , Mark Brown , Sasha Levin Subject: [PATCH 5.16 0388/1017] ASoC: SOF: Intel: enable DMI L1 for playback streams Date: Tue, 5 Apr 2022 09:21:41 +0200 Message-Id: <20220405070405.802480370@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 From: Kai Vehmanen [ Upstream commit a174e72e2355b9025205b4b6727bf43047eac6c6 ] Add back logic to mark all playback streams as L1 compatible. Fixes: 246dd4287dfb ("ASoC: SOF: Intel: make DMI L1 selection more robust") Reviewed-by: Ranjani Sridharan Reviewed-by: Péter Ujfalusi Signed-off-by: Kai Vehmanen Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20220310171651.249385-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sof/intel/hda-pcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/sof/intel/hda-pcm.c b/sound/soc/sof/intel/hda-pcm.c index 41cb60955f5c..68834325d8fb 100644 --- a/sound/soc/sof/intel/hda-pcm.c +++ b/sound/soc/sof/intel/hda-pcm.c @@ -278,6 +278,7 @@ int hda_dsp_pcm_open(struct snd_sof_dev *sdev, runtime->hw.info &= ~SNDRV_PCM_INFO_PAUSE; if (hda_always_enable_dmi_l1 || + direction == SNDRV_PCM_STREAM_PLAYBACK || spcm->stream[substream->stream].d0i3_compatible) flags |= SOF_HDA_STREAM_DMI_L1_COMPATIBLE; -- 2.34.1