From patchwork Tue Sep 30 02:25:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 5000001 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 07F94BEEA6 for ; Tue, 30 Sep 2014 02:27:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 253DC20200 for ; Tue, 30 Sep 2014 02:27:10 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 462E4201B4 for ; Tue, 30 Sep 2014 02:27:08 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3F2A92606E6; Tue, 30 Sep 2014 04:27:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 028B42606B6; Tue, 30 Sep 2014 04:26:59 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6B2472606BE; Tue, 30 Sep 2014 04:26:57 +0200 (CEST) Received: from mail-yk0-f180.google.com (mail-yk0-f180.google.com [209.85.160.180]) by alsa0.perex.cz (Postfix) with ESMTP id 428B12606B2 for ; Tue, 30 Sep 2014 04:26:49 +0200 (CEST) Received: by mail-yk0-f180.google.com with SMTP id q9so1358930ykb.39 for ; Mon, 29 Sep 2014 19:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=2KOnWxSzkfcGfbKkIADOm2EVcGRd6EuZA8hPtGwH8z0=; b=nSpQCzFmIyZze+/Do5NoPWNDSkVB9lMOfh4AeoKDIzFmIoYAg80sjkM1alCWc855Fp pYcyPRSOpNG53fmdd86Fa1KlXy2A3tfpUHBwQIz4v2yf5q6K5Mm+RPqoJmFf/BQ+zfOR cZ8gIblUpD/RAi0iOf2jvGH2iV+rJpFLmKVLoOoA1nHCKeo5g5O3ajgzqXNX3/Noxk08 j+LuilRYLlam9tRSJOHxwjrmwz1Hw3VLEw5QjqxXyybaqaYE8DU/P9xwY/Sl6anaWlvd 28G8RWzEnqaoAr11qVmApoAAojBP+q7ZjgAbmm8a3wG70jQga5F6iQI5Vn5PPsZU8HiW NqTQ== X-Received: by 10.236.54.101 with SMTP id h65mr8892111yhc.47.1412044008089; Mon, 29 Sep 2014 19:26:48 -0700 (PDT) Received: from localhost.localdomain ([201.82.52.106]) by mx.google.com with ESMTPSA id l9sm7728209yhb.26.2014.09.29.19.26.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Sep 2014 19:26:47 -0700 (PDT) From: Fabio Estevam To: broonie@kernel.org Date: Mon, 29 Sep 2014 23:25:29 -0300 Message-Id: <1412043930-15243-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: nicoleotsuka@gmail.com, Fabio Estevam , alsa-devel@alsa-project.org, Li.Xiubo@freescale.com, timur@tabi.org Subject: [alsa-devel] [PATCH v3 1/2] ASoC: fsl_ssi: Remove unneeded 'i2s-slave' property X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam There is no need to use 'i2s-slave' property, since master/slave configuration are passed via machine layer. This change does not break existing users because they do check for slave mode inside sound/soc/fsl/mpc8610_hpcd.c/p1022_ds.c/p1022_rdk.c Signed-off-by: Fabio Estevam Acked-by: Timur Tabi --- Changes since v2: - Added Timur's Ack and CC the alsa-list Changes since v1: - None sound/soc/fsl/fsl_ssi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 2fc3e66..0e7ce50 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1285,9 +1285,6 @@ static int fsl_ssi_probe(struct platform_device *pdev) if (sprop) { if (!strcmp(sprop, "ac97-slave")) ssi_private->dai_fmt = SND_SOC_DAIFMT_AC97; - else if (!strcmp(sprop, "i2s-slave")) - ssi_private->dai_fmt = SND_SOC_DAIFMT_I2S | - SND_SOC_DAIFMT_CBM_CFM; } ssi_private->use_dma = !of_property_read_bool(np,