Message ID | 87bn6qyj2f.wl%kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Geert Uytterhoeven |
Headers | show
Return-Path: <linux-renesas-soc-owner@kernel.org> X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3E6119F7CA for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Mon, 7 Mar 2016 05:09:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A4A5A2012D for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Mon, 7 Mar 2016 05:09:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EC7DF2010B for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Mon, 7 Mar 2016 05:09:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751357AbcCGFJk (ORCPT <rfc822;patchwork-linux-renesas-soc@patchwork.kernel.org>); Mon, 7 Mar 2016 00:09:40 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:11606 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750939AbcCGFJk (ORCPT <rfc822;linux-renesas-soc@vger.kernel.org>); Mon, 7 Mar 2016 00:09:40 -0500 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 07 Mar 2016 14:09:37 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id C059049123; Mon, 7 Mar 2016 14:09:37 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id C05592806E; Mon, 7 Mar 2016 14:09:37 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id B92032806D; Mon, 7 Mar 2016 14:09:37 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id QAD24288; Mon, 7 Mar 2016 14:09:37 +0900 X-IronPort-AV: E=Sophos;i="5.22,549,1449500400"; d="scan'";a="207104381" Received: from mail-sg2apc01lp0240.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.240]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 07 Mar 2016 14:09:36 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=2BFd7++WdHqg9OiHQLHk3KGIUdVFMkUP9r3OKVVKAKc=; b=gP5P5D8q5cbT5Fv6lCfCANidJ/YAk+qzmAkGjXuPk2ecQpHWLdXngzuy8kzCRbrEzpAN3+gwJAWHLkJiQj24LbtrAx0z45cnnyysJr1Iw5CRj1ACMCEzTrhEARcZuYbSSs7Y9TgTlMWfFdbCG169BovAhql0h/+EaTWKrp5xD98= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by HK2PR06MB1012.apcprd06.prod.outlook.com (10.161.188.28) with Microsoft SMTP Server (TLS) id 15.1.427.16; Mon, 7 Mar 2016 05:09:34 +0000 Message-ID: <87bn6qyj2f.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 7/7] ASoC: rsnd: CMD TIMSEL support for Capture User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown <broonie@kernel.org> CC: Linux-ALSA <alsa-devel@alsa-project.org>, Liam Girdwood <lgirdwood@gmail.com>, Simon <horms@verge.net.au>, <linux-renesas-soc@vger.kernel.org> In-Reply-To: <87lh5uyj9a.wl%kuninori.morimoto.gx@renesas.com> References: <87lh5uyj9a.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="US-ASCII" Date: Mon, 7 Mar 2016 05:09:34 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: KAWPR01CA0045.jpnprd01.prod.outlook.com (25.165.48.155) To HK2PR06MB1012.apcprd06.prod.outlook.com (25.161.188.28) X-MS-Office365-Filtering-Correlation-Id: 12ba265a-a876-4123-38b0-08d34646acf9 X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1012; 2:Y6buUnh4geEEomQ10Tj/CktC0H/SCydsxkaLEb9aWVFJAb7nmGfRMDN16PIOMF0cK9aqKDgsm61ibIpNJ7rWbr62uqyf43WNWzY5/hPB+nZlsD7Y+cCOEkV5oSiQEJbGXiVh/lF1pJwU5s3ei2iVXSOGFtrM8j30t/3aBQMLvhIuK8WZSuSVgfbhN3GjCALK; 3:Im5b/Wp8Dw+z7S5rE1OJEh3pQtEXIGlK54by13qxqYbao7Kql421GFHqHFX+7CfUWLt1nszEK6IUHWlOqz3OFsRqrCp+2rbuigWbscf+s52iK8JtXa3mskkzHeX3Zd4e; 25:lAVAaePKZfOUkF68sfCljV63EgzqUnKWmrtYp13sX9FyuwbXQqLUIFnp6z71SFXHwFxTPl1N6jXdjPfLAokrDvNCUULZmwzZPFwIDMF9WqwTS58Aah9APLzahyB8x5g6yvVvPYUFjOkmgLNXO0kvF8NN/d1tcIDQsY35wKQKvkGtCHvtP7qnIJkQdJA+cGoYjjZiDljybYSII42iXCpXWeiR3ka4VFk8hoSBc8XyiIxvUKBCfjuHmDhHpfcxWWOItjtJ/VfDrrrMRQp7909grtEjfPuO5KvjqzlcuVTMxjIY7bEZMQwBGs6lJJ69WrvCKYNyJ8ZazwPTVDohgV+X16eWGk7+Jh+49RBOapDBJ3g= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HK2PR06MB1012; X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1012; 20:gS6+wCbCFqB4WjQR370hka8xpITxwH6Q5nWh97rX4+zn1sM2EoQJal5Zq3+uDMPiBufOo8XwZz0VhqPxmULLXDmEjqP+S3cP8efCx8PHn2kP3kdRuNrUpCfhJ60XLDo5N1CVjCxXwtMQd3/taaxTI6gNkaUsYIJVJEmEasDI1d2OAzh6aRmxdbtyLmvc6tgL0N1Gr6pRL7ouYLrWi5mkYHuB8ezpQI882pxz2Autb/DO/SkPm9llUNssUDgBHFh5kC8sA+jH95NmFqDU9yzCOiTrfxCMO2UoYXuk86ApCt+lpOngsgat40LzIXUiFMdhGa1fXUHOAWdq3aXRSawgKravvLGWSTjZ3bbHLcALDGlxv8AC6DvbAGvbEP8m8IlyysMsRyB5qQ5ibosrM3c5erx+vKz+/cepz7RQLoYrdB2zbnN814D2VjM7+ilQfa+nW4PjbQJ/s3odSsvn6TpLxi4u4bWPqIwNvvmgFrPJb22Ytusa0tl/ye8nstQIYSUn; 4:E73xTJtI9IxWdHhdq+FD+ZTOiQStu0IVv/4hbzgYu1BXsoDR0LGweAYVemzll8oWEu4b8I7pvoyqHaHxUcUAfHYbsEr/Rd14vJAnywiNXL8TeihZ0nZkBrXCH1dhrlZDvzjudTC/86niy1b8CMdPoa+4j0OeJDqhpVmhloJkts/HxPK0HalILiXjoemV6DMOzD9OrxcXcX8+FtJT052QnG7nOcPSkVQ5/gqjN3wKfhKDjojqA9jYsHnVBaaB5hZmOXNiX9CSW7SLQsACwDT27Bt1rwxKsGpY4Be22zFdVh60SIV3CkNTG4uv7PD9cSFF267nNiySy8b1ZmcLdHeba6JH9ydsU5R3x/swHhWC4PfUZFiJURpShKKbo/5GnTpQ X-Microsoft-Antispam-PRVS: <HK2PR06MB1012574B5ADC5E07FDFE416FD4B10@HK2PR06MB1012.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:HK2PR06MB1012; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB1012; X-Forefront-PRVS: 087474FBFA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(1096002)(46406003)(6116002)(189998001)(23726003)(42186005)(586003)(110136002)(53416004)(4001350100001)(2906002)(76176999)(54356999)(19580395003)(19580405001)(3846002)(50986999)(50466002)(92566002)(2950100001)(47776003)(87976001)(66066001)(33646002)(77096005)(83506001)(40100003)(36756003)(4326007)(5008740100001)(86362001)(229853001)(122386002)(81166005)(5004730100002)(16060500001)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB1012; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB1012; 23:XnqxetzIN5SbqPeeqNUOoKemwaMA8ZKVKMEDbJIHR?= =?us-ascii?Q?I6b1fTXAUUa4TMLLtzuU1UVESyKTdMuOCv9Lnrk9oqMjUax/14AKZuRgL3FC?= =?us-ascii?Q?1zJE05ougAlTF8OG0UyjjmjA0Rm35pAcezxgUDSaH1TbNJyCA8dCNqr2+ANV?= =?us-ascii?Q?fSYgKelJIfC54+fUmC1cYybNG3KpFkGZUl/YkDSL7+N5xRoUzs0XgL6FCyju?= =?us-ascii?Q?8V88trLOPeLRGGY7zuRvmnbBfUlj+BsgrmH55A/bP02Kc8giUvCIkgi6oEHu?= =?us-ascii?Q?BfsN49wuB9hjQrimtsywhPg4d7+DqcjvhfH/OQnzc8pvKCrPr9vv6nuvJGR5?= =?us-ascii?Q?bRkWhyL2Hg4FHtCGFmOyISn4+dJdQmBAuxWZ00BoRP+W7q3dpJ2vzflRPjMc?= =?us-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XLr+UCKoZnh8uws9PVneDYB60DFtHs4mS3X8vtRoxSsgMJwYeBtVPTkRLqt9WXigolpj0=; 20:HFfHA0VFfYfxB95WHmNyELmJFO2NtzYrfEyakziMJe70nK4Ff9TQBB0ApAo64PgaabQLrgsCv8Mbv3qBizrUKbrYMBDmOl/kk+PsWXKMbTymK+88ydHaqM+n5zjoa9V0TqFE6RikRQ1t/7K8pYGPCi1KwlptAmzAvi3bu0/rhJk= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2016 05:09:34.8666 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB1012 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-renesas-soc.vger.kernel.org> X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable 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 |
diff --git a/sound/soc/sh/rcar/adg.c b/sound/soc/sh/rcar/adg.c index f7e164c..606399d 100644 --- a/sound/soc/sh/rcar/adg.c +++ b/sound/soc/sh/rcar/adg.c @@ -202,7 +202,10 @@ int rsnd_adg_set_cmd_timsel_gen2(struct rsnd_mod *cmd_mod, int shift = (id % 2) ? 16 : 0; u32 mask, val; - val = rsnd_adg_ssi_ws_timing_gen2(io); + rsnd_adg_get_timesel_ratio(priv, io, + rsnd_src_get_in_rate(priv, io), + rsnd_src_get_out_rate(priv, io), + NULL, &val, NULL); val = val << shift; mask = 0xffff << shift;