From patchwork Mon Apr 14 00:59:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 3975631 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 B24EEBFF02 for ; Mon, 14 Apr 2014 00:59:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DDB9C20170 for ; Mon, 14 Apr 2014 00:59:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1874D2015D for ; Mon, 14 Apr 2014 00:59:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750814AbaDNA7s (ORCPT ); Sun, 13 Apr 2014 20:59:48 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:35723 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbaDNA7s (ORCPT ); Sun, 13 Apr 2014 20:59:48 -0400 Received: by mail-pd0-f171.google.com with SMTP id r10so7471287pdi.30 for ; Sun, 13 Apr 2014 17:59:48 -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:to:cc:mime-version :content-type; bh=oV73/l4JQCt9HrV4De3HXF+ZLJ+JCTXph8dA5osrg/0=; b=Takw1Jad7vSStCUQUXSuDibGb2pnWP69Vaqp6jaw0qKuEghFpuKqYO66SCLQkKhbRH dmBq7EeQfElmwNT4FfYNgFZAHdzQ088pXBXoq7ltsKK5am3+TAd9hujPsSZaWYOo+Wu3 QUvQ5u0qw0rprCB+OpkvgKBgseL3Qj+5Ya1drrJSmxsc99Vy/xQjTEG7HR/G5C7yVkQl ZOY5h5IIAO92QocnsDHWOm7IiN5N+tUAzZ5xwSueBhUC8WhjwEQzUL9oIUrx3fT5GtWh mLlzghi6Rj2AbXQqYvu7iQyyRZ3CvKdSdeTDt723qTl24UfzNNNQt0iPDLC6yxscpoJs K8Tg== X-Received: by 10.68.136.133 with SMTP id qa5mr40896244pbb.63.1397437188119; Sun, 13 Apr 2014 17:59:48 -0700 (PDT) Received: from remon.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id oz7sm30179341pbc.41.2014.04.13.17.59.46 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 13 Apr 2014 17:59:47 -0700 (PDT) Date: Sun, 13 Apr 2014 17:59:47 -0700 (PDT) Message-ID: <87fvlg20am.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto Subject: [PATCH] ARM: shmobile: armadillo800eva: fixup SND_SOC_DAIFMT_CBx_CFx flags User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 To: Simon Cc: Magnus , linux-sh@vger.kernel.org, Kuninori Morimoto , Kuninori Morimoto 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.8 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 c7a507eea1db1430476289f525f9c853d5d485e8 (ASoC: fsi: fixup SND_SOC_DAIFMT_CBx_CFx flags) exchanged sound flags, but armadillo800eva flags needs IB_NF. The recorded sound will be noise without this patch. Signed-off-by: Kuninori Morimoto --- arch/arm/mach-shmobile/board-armadillo800eva.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c index 2858f38..486063d 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c @@ -992,6 +992,7 @@ static struct asoc_simple_card_info fsi_wm8978_info = { .platform = "sh_fsi2", .daifmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBM_CFM, .cpu_dai = { + .fmt = SND_SOC_DAIFMT_IB_NF, .name = "fsia-dai", }, .codec_dai = {