From patchwork Tue Jun 30 12:58:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 192069 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp3790327ilg; Tue, 30 Jun 2020 05:57:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxk8ZISUb120o1Vg1DNBSR16O1RLMEQK3uZVpb9UrcK8NiX664aS+j520lOWROFHOeE1YHP X-Received: by 2002:a05:6402:1777:: with SMTP id da23mr22409304edb.260.1593521877465; Tue, 30 Jun 2020 05:57:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593521877; cv=none; d=google.com; s=arc-20160816; b=Ebr/lb2xiWxr54UHC+3p4fsSI6Wc0Az/0hSxLw4Tb1nWTzA1Q13fEE/qXiggaYB/TR vhKS+gjyj8FmtzNUZ6HHXAyMrcLfvPfXEkS3ehVEcITMMGBmEH59N/NDR6UPqwy9NZgV 1lSeXXmvREXf38y4N59rzFoVTwRCLmZryFdsG/rYicx2VdxWpMdMA9vIT6VdAYQi5MFR B+URysuI+pBkDyaLkUnqDFG8hzBbECk7mQvNww1pIT4IqIqMndqTKVwQnPg3yYEWvFKd hSm0B8zfX7pm7Ch2T5PzTf7efOrIc25bzVdfihpDUhNYMK50mPMcSXW3pr05tdf/Z/Lh +C6Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ccAR2l5UfUJRa3XDJKA2gVG365Re+jn/ntZxzTY+wzw=; b=Mhyv02v8qybj+MmySrCkmTcFKy7MDJBV1txzN9ShOgyLcSMfiYk3b2oqEDRFIluCNX wSNc+QmHYOmEH3QadE0OTqUrtXMd+cowb4k7tcNwh2i/Thn1avlMEhnNfYfhqxyk2S69 HBetk/xmzSqt9P8jBpsTUd9B+Hb42nO0cTQ/Ib7550IpX7E397h/G3Usf5LQdwWpebhO iJhubtUMk0IOU7Kn5OKA0VnVmF/t/nY1oGxAoe3zP77PUSzaN45ULWCznwUvhqCg20VQ xscoKiwnriOoVHBDdsHBfRZ+O0oKIUt1jVidPgsaMN6BPLnuUHEGpizDN57aplF63GPe NHLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Xx2bl8JE; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bw19si1673536ejb.729.2020.06.30.05.57.57; Tue, 30 Jun 2020 05:57:57 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@ti.com header.s=ti-com-17Q1 header.b=Xx2bl8JE; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388043AbgF3M54 (ORCPT + 6 others); Tue, 30 Jun 2020 08:57:56 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:34212 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387952AbgF3M54 (ORCPT ); Tue, 30 Jun 2020 08:57:56 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05UCvnbu027125; Tue, 30 Jun 2020 07:57:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1593521869; bh=ccAR2l5UfUJRa3XDJKA2gVG365Re+jn/ntZxzTY+wzw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Xx2bl8JEFAGH+cr++w2VSP0tU+LNhAA6+sVBFC4zCn4YcTY8JSYhDx/0ZaL4dxW6+ 0ZjNYZuKNSZ32hJvaXUWKd0bJO7HPfBNf7RYoS/eEEpRz8fdQ6JfZ1zJQo7zY6CRn+ AdcLETWcXgXFN+YRYn3z6oSeelPsSRRA3QKvDsoA= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05UCvnFL081788 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 30 Jun 2020 07:57:49 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 30 Jun 2020 07:57:48 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 30 Jun 2020 07:57:48 -0500 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05UCviAJ084334; Tue, 30 Jun 2020 07:57:47 -0500 From: Peter Ujfalusi To: , , CC: , , Subject: [PATCH v4 1/3] ASoC: ti: davinci-mcasp: Specify stream_name for playback/capture Date: Tue, 30 Jun 2020 15:58:41 +0300 Message-ID: <20200630125843.11561-2-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200630125843.11561-1-peter.ujfalusi@ti.com> References: <20200630125843.11561-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In order to dai stream widgets to be created the stream_name must be set. Signed-off-by: Peter Ujfalusi --- sound/soc/ti/davinci-mcasp.c | 3 +++ 1 file changed, 3 insertions(+) -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/sound/soc/ti/davinci-mcasp.c b/sound/soc/ti/davinci-mcasp.c index b93c1ee302c0..617440767c45 100644 --- a/sound/soc/ti/davinci-mcasp.c +++ b/sound/soc/ti/davinci-mcasp.c @@ -1623,12 +1623,14 @@ static struct snd_soc_dai_driver davinci_mcasp_dai[] = { .name = "davinci-mcasp.0", .probe = davinci_mcasp_dai_probe, .playback = { + .stream_name = "IIS Playback", .channels_min = 1, .channels_max = 32 * 16, .rates = DAVINCI_MCASP_RATES, .formats = DAVINCI_MCASP_PCM_FMTS, }, .capture = { + .stream_name = "IIS Capture", .channels_min = 1, .channels_max = 32 * 16, .rates = DAVINCI_MCASP_RATES, @@ -1642,6 +1644,7 @@ static struct snd_soc_dai_driver davinci_mcasp_dai[] = { .name = "davinci-mcasp.1", .probe = davinci_mcasp_dai_probe, .playback = { + .stream_name = "DIT Playback", .channels_min = 1, .channels_max = 384, .rates = DAVINCI_MCASP_RATES,