Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4881966pjb; Mon, 27 Jul 2020 07:30:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHegXudRl2VTC3JdRRRDVCwN6Ffr/a2/gnI18MaIwx9RSQCSY9QtaYf1MuN9mLEL6jmPYM X-Received: by 2002:a17:906:43c9:: with SMTP id j9mr5388056ejn.542.1595860247145; Mon, 27 Jul 2020 07:30:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595860247; cv=none; d=google.com; s=arc-20160816; b=mKgLvNRlp+lCtIpBe9c8p3bb/eGX+vP0joMhCgBEymeDakRn12HCcAo4ww3G1jUlxb CCNDXTta9fLBWFiIRQ1DxBvb8o8yXOF/9iZvM4dzRm6vmb4haaX/pJlREioXaFqlHHMJ rn4WtO2gSBZe479UUpQbt+AqZd0LdFxKsQFjGv288EGcN0NVE9cShSXtTX8PnWMD7ss9 CQrY6w7WnuXRFrm4SyQwk8VYlqSPO9whwYlLbUiQxB1iWAlg1VcQid4HGMWkWjjAfB8g pRDxq5D8MuG2ErASRidgcv/nKmWfCZ+X3LYuRAjysBE+BJuuxu9Wc/iwQnKiBx6ubys5 tPiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=QsfARfBD54meqdDUpPE25bnIloTJFDiH+uLjwLEe8dQ=; b=WaUIjfIOBdV6W818PAKz+XvGQeiHJuAsKD44qHnEDuyenjarMVb7m0tkE4/OvA1yg8 wDrGQyQXaWq+blmfYKIJ38mNnm6XbA48DbVwQRLbyDyAGtoDZ0eJC4MpKb7qxfx1E8d6 j9UiDPLacsb80Zt2V0Mwbyoo7JyuzYs3S7LIgqBnyG3dY8LvXiaDcfTZ/X+xYU42JOOa LnlzunrvG0XeZdfI+2X0SZnfkPS61pcfQtZXnKFi5+2tAMeWPV59oHSNlmO+7S1HgfEa NI0Qd3wP8g6XtECKw70l+NAs9F2cxoGYUVmwVwaJ4ko1N+T33UQ8pjO/xypFTjer9hR4 H/MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uOv4vbJ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mm22si1344160ejb.735.2020.07.27.07.30.25; Mon, 27 Jul 2020 07:30:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uOv4vbJ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732669AbgG0O1L (ORCPT + 99 others); Mon, 27 Jul 2020 10:27:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:56426 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730001AbgG0O0O (ORCPT ); Mon, 27 Jul 2020 10:26:14 -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 9030220663; Mon, 27 Jul 2020 14:26:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595859973; bh=+ugu/tNF/pHt3udlHuscPoyBo9goacPReY2N/k7oBBE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uOv4vbJ11pKZJurAZErnHuFeSAARQOPkld4piEe+QJpqrqY8cPEJWb/yO5eGNwshU sS2BEbCjnV9BIV2iPz9JT78cW43tt1KkzJVIdhChwU4MIZlrSVtLKl5HHOAMgXhhUd 5BviJcEnwN56dyJTgCkhbDF76+iEbYxpyV48zFhc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pierre-Louis Bossart , Guennadi Liakhovetski , Curtis Malainey , Mark Brown Subject: [PATCH 5.7 176/179] ASoC: Intel: bdw-rt5677: fix non BE conversion Date: Mon, 27 Jul 2020 16:05:51 +0200 Message-Id: <20200727134941.229904990@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727134932.659499757@linuxfoundation.org> References: <20200727134932.659499757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pierre-Louis Bossart commit fffebe8a8339c7e56db4126653a3bc0c0c5592cf upstream. When SOF is used, the normal links are converted into DPCM ones. This generates an error [ 58.276668] bdw-rt5677 bdw-rt5677: CPU DAI spi-RT5677AA:00 for rtd Wake on Voice does not support playback [ 58.276676] bdw-rt5677 bdw-rt5677: ASoC: can't create pcm Wake on Voice :-22 Fix by forcing the capture direction. Fixes: b73287f0b0745 ('ASoC: soc-pcm: dpcm: fix playback/capture checks') Signed-off-by: Pierre-Louis Bossart Reviewed-by: Guennadi Liakhovetski Reviewed-by: Curtis Malainey Link: https://lore.kernel.org/r/20200707210439.115300-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/intel/boards/bdw-rt5677.c | 1 + 1 file changed, 1 insertion(+) --- a/sound/soc/intel/boards/bdw-rt5677.c +++ b/sound/soc/intel/boards/bdw-rt5677.c @@ -328,6 +328,7 @@ static struct snd_soc_dai_link bdw_rt567 { .name = "Codec DSP", .stream_name = "Wake on Voice", + .capture_only = 1, .ops = &bdw_rt5677_dsp_ops, SND_SOC_DAILINK_REG(dsp), },