From patchwork Fri Jun 12 08:59:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 187834 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp215610ilo; Fri, 12 Jun 2020 01:58:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0VfpqUkG/YzWZwooYWvWWW9t3E7Bn4hhCPMZa/DPMjYMo92HrlEIZBMsKc0I5jXxS3cFM X-Received: by 2002:a17:906:3603:: with SMTP id q3mr12781371ejb.477.1591952324502; Fri, 12 Jun 2020 01:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591952324; cv=none; d=google.com; s=arc-20160816; b=ApuIF65WoarU5rMWcPiDo4D/NHiqb68juGsFix0Ona/jhHrzjLF9xbSoHIt48fmJlW x3VBSE6FiyGXxKKyYOALMHBORkmf4r5khsu3TgDpKuvF2MELaqVApuGTPpIGYWUiQKaS QWtRVxYmbCQcJSUTMDo0fS7LVjyXoyRH/OEhjSEzlugKeN4kuub8C1GDwOwQRMXH8X2r aHrolRCwfmBfHPbFzKDWq16FKe2PGV1niaBijLTzKT3MrFvoLbTMXdABJiHl8LmaT9GC 0mwacUICVEbVKjDXYOu/ITGR1ALv9mMyuU7/Hy7T6yCLJd3HDzAQ2/nne6CJ+3MOMSj5 NYKw== 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=aOV15F4l/PqcV/tRY77kc3RBuQvOw3hLavEUh0wJJdtKnzdJefOQUpGrSu3tJsZvd+ Ofur8vzzrDkKhstPrKIzff+DQDHC9tMxQwfH0I61PnsIrUwRqO3fq7gDYZrxtkMFGa+9 k77grXMZ1P2uPrORrGm2/xNGOHVWFLTfb1XAbACjdLkFENDjTY69WcuJC+aIx+uKzU5A +lPj+w/ycpxN6vAEaapQOnPloV3jWrB6vLnUBu2bXDXJw99rgZQNjrKBUIRym70dAOpr NVaKjCY4y/bIEuR6vE4Y95lrfx1ejwm5WE8sH79qK+59aAFkHfAr8cKOM8a8hgvXndWV Bi2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LQHBTYtc; 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 w11si3062288ede.55.2020.06.12.01.58.44; Fri, 12 Jun 2020 01:58:44 -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=LQHBTYtc; 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 S1726319AbgFLI6e (ORCPT + 6 others); Fri, 12 Jun 2020 04:58:34 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:58758 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726349AbgFLI6d (ORCPT ); Fri, 12 Jun 2020 04:58:33 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05C8wRRP017075; Fri, 12 Jun 2020 03:58:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1591952307; bh=ccAR2l5UfUJRa3XDJKA2gVG365Re+jn/ntZxzTY+wzw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LQHBTYtcQRRiMBkoBbmt5QTSCZiTxglvQmDu07rb5gbF9nUXOKZdZ/h3dcvs7JofN cyVz0klBPlGss0jUZu0LsV18C8w7Cc6l7zE7OAI/+QtLRnacZyUEqX4agQ2bqrwP41 HgmSc4iw6nn+QveF9R0JFlAuRtg8nUaTyeWyaV/o= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05C8wRuu026607; Fri, 12 Jun 2020 03:58:27 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Fri, 12 Jun 2020 03:58:26 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE112.ent.ti.com (157.170.170.23) 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; Fri, 12 Jun 2020 03:58:26 -0500 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05C8wMMK036678; Fri, 12 Jun 2020 03:58:25 -0500 From: Peter Ujfalusi To: , , CC: , , Subject: [PATCH v3 1/3] ASoC: ti: davinci-mcasp: Specify stream_name for playback/capture Date: Fri, 12 Jun 2020 11:59:07 +0300 Message-ID: <20200612085909.15018-2-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200612085909.15018-1-peter.ujfalusi@ti.com> References: <20200612085909.15018-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,