From patchwork Tue Mar 25 04:29:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 3885151 Return-Path: X-Original-To: patchwork-linux-sh@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 64D67BF540 for ; Tue, 25 Mar 2014 04:30:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D85B2026C for ; Tue, 25 Mar 2014 04:29:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 461672020E for ; Tue, 25 Mar 2014 04:29:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750896AbaCYE35 (ORCPT ); Tue, 25 Mar 2014 00:29:57 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:62391 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750833AbaCYE35 (ORCPT ); Tue, 25 Mar 2014 00:29:57 -0400 Received: by mail-pd0-f173.google.com with SMTP id z10so6236168pdj.4 for ; Mon, 24 Mar 2014 21:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:subject:user-agent:from:to:cc:in-reply-to :references:mime-version:content-type; bh=Y3WOVqHKNCRZKH6UmE9vUboHDzs/YMwNZ2TXD7CLGHg=; b=mTSCCxCHHqSZeYKDGmwmW2ISGAr5QrWXSm1x6P8CkY9rNDQxHazaUM4Nbr2jk6HmJC bIW1UpqGYvQUkifbyS8qFaqppO5ZZf8YrCBVMpgdGkJfOeF9tDdDvUNN4RbDuiT4aJ8Z NC1xE8bp3wUnU/azoPaMVSmXT+JtlcyXpZjfKWXIohFThMSiqVNz/UUGmjPoAwyDhfOy +9bHcJpv1uAWTUlicbf6YSQgCR72cM+HLKZg03899MrCVrjleOYKQcfk4X+w9uVJ5dCz NcooxDP2hcMzvMMY5skoHvZRGIYXMvaw6IdfuyiDPlXGD43K5K1dxRnqhHlUjUikO0Zl uSrw== X-Received: by 10.68.66.1 with SMTP id b1mr75909740pbt.43.1395721796903; Mon, 24 Mar 2014 21:29:56 -0700 (PDT) Received: from morimoto-dell.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id qw8sm38666173pbb.27.2014.03.24.21.29.55 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 24 Mar 2014 21:29:56 -0700 (PDT) Date: Mon, 24 Mar 2014 21:29:56 -0700 (PDT) Message-ID: <87ha6mdhoe.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto Subject: [PATCH 1/6] ARM: lager: fixup SND_SOC_DAIFMT_CBx_CFx flags User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 From: Kuninori Morimoto To: Simon Cc: Magnus , linux-sh@vger.kernel.org, Kuninori Morimoto In-Reply-To: <87ior2dhp9.wl%kuninori.morimoto.gx@gmail.com> References: <87ior2dhp9.wl%kuninori.morimoto.gx@gmail.com> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto SND_SOC_DAIFMT_CBx_CFx means "codec" side master/slave mode. Then, rcar will be master mode if it was SND_SOC_DAIFMT_CBS_CFS. Signed-off-by: Kuninori Morimoto --- arch/arm/mach-shmobile/board-lager.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c index f0104bf..18c7e03 100644 --- a/arch/arm/mach-shmobile/board-lager.c +++ b/arch/arm/mach-shmobile/board-lager.c @@ -588,14 +588,12 @@ static struct asoc_simple_card_info rsnd_card_info = { .card = "SSI01-AK4643", .codec = "ak4642-codec.2-0012", .platform = "rcar_sound", - .daifmt = SND_SOC_DAIFMT_LEFT_J, + .daifmt = SND_SOC_DAIFMT_LEFT_J | SND_SOC_DAIFMT_CBM_CFM, .cpu_dai = { .name = "rcar_sound", - .fmt = SND_SOC_DAIFMT_CBS_CFS, }, .codec_dai = { .name = "ak4642-hifi", - .fmt = SND_SOC_DAIFMT_CBM_CFM, .sysclk = 11289600, }, };