Message ID | 87povutp6u.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 9F7BD9F38B for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 18 Feb 2016 08:13:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1130220397 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 18 Feb 2016 08:13:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5C41620395 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 18 Feb 2016 08:13:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1425350AbcBRINw (ORCPT <rfc822;patchwork-linux-renesas-soc@patchwork.kernel.org>); Thu, 18 Feb 2016 03:13:52 -0500 Received: from relmlor2.renesas.com ([210.160.252.172]:50216 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1425300AbcBRINu (ORCPT <rfc822;linux-renesas-soc@vger.kernel.org>); Thu, 18 Feb 2016 03:13:50 -0500 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie1.idc.renesas.com with ESMTP; 18 Feb 2016 17:13:48 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id C114F4C74E; Thu, 18 Feb 2016 17:13:48 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id BE1C11806F; Thu, 18 Feb 2016 17:13:48 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id B7CB31800A; Thu, 18 Feb 2016 17:13:48 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac3.idc.renesas.com with ESMTP id TAA07307; Thu, 18 Feb 2016 17:13:48 +0900 X-IronPort-AV: E=Sophos;i="5.22,464,1449500400"; d="scan'";a="204625875" Received: from mail-pu1apc01lp0016.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.16]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 18 Feb 2016 17:13:47 +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=N/KArEHaJ3qugKtkKe1w1YHNfB8cd+ENPXJyNA8IOFA=; b=APsNPMBFfIfuIfOy53Smnp9iK+vE4jJrwoFe69O+JPtI1+fBvTY1nwJ3tL4Wc2praQ61FObZP1H1Tualpj+t9nmgxUGzSQMVqbGpQYH1MdGaChfy5o8aM/aGTDHRsgK5Le0ZlnvfFFxyzcvucQcbjZX/Y5SJVysqNVUnHZfKjNI= 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 SIXPR06MB1023.apcprd06.prod.outlook.com (10.160.240.28) with Microsoft SMTP Server (TLS) id 15.1.409.15; Thu, 18 Feb 2016 08:13:45 +0000 Message-ID: <87povutp6u.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 02/11] ASoC: rsnd: setup SRC_ROUTE_MODE0 before SRC_SRCIR 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: <87si0qtp8x.wl%kuninori.morimoto.gx@renesas.com> References: <87si0qtp8x.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: Thu, 18 Feb 2016 08:13:45 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR06CA0042.apcprd06.prod.outlook.com (25.164.91.52) To SIXPR06MB1023.apcprd06.prod.outlook.com (25.160.240.28) X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB1023; 2:cYNpOuzDu5LDXf9rH5gUOMiVlcoaOo6ikiuC2iyitIoBwww5RrvjTjauiI97rads/NSaZtPvnekDlFxAy40BeSkz4HtwI+UOBIqLqafZ1KzFiqlqBS+ryj7M+43+liknQJ9altTEU8bfUWFQj3kVAg==; 3:W344svuCefzGj8qcqxocWV31LpAUp80eolDZxr+xud3gQfN1AxMaDs0yesgMvHJFn1LQjH3htAcnGjSP1xrq8afnffREMOXf0xaX6hE36SrHjMwNpYR89G+0yCaG7PL8; 25:+GwfgFOXrOuH3zIO9Or3FB0I9xEjaTAarpaBHXqpJdKED/naqgepL6m1mzEBRKzKuA2W/jSUyOrOrlL8TDFkk2C9y90IYEte9GjXPIqudYVKiiBYeAqZ77/JWdDtmLRDUfV6HZEICaITbKDpCVSiL9DPYV9wq9gmvCwSwQWju/z49TUZY9i8lu4I9fMBZceVIkdcgyM9wb6zagsw67T7uxAP7MN+Yp1gj+kVxlIT20ql3ITkZg/7/eBD1N7pvjPXMG5O+nhbotIoDB09T+JqepsBPuAM/1V0SmEiIzHEYCgFKEqlM8dw0/HZgNwGzrzf X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SIXPR06MB1023; X-MS-Office365-Filtering-Correlation-Id: 38c91a8e-d2d6-4f5f-cd47-08d3383b6c6b X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB1023; 20:VnmL9pbvfYuE1w0zs6gCSRJHP4bICfi33dsiAxHzMEq1nHPxFSBsB9aAi2MABcKl3rLt59NeRZtPVbI5lA1QdgCypzaHgT4CVMfZmGVIAL9+g+2u9EDX6IvcT8I6e0qLhfQzr1xLKt8x8i/ZrBfNBnKgjORpZGTNWmUV4r0/2nWW0/7H7sarAFdboKxIQjfQOW4sw7DtjOgjy5SKhGQDKTdzXc2vUrPGUbqwqK0fiuiMl7TK3gNiTGFTAQwF8mdHrANY4yNEJeSsbFFuoU4udHmkYE5bu68uw7rTFWEhHQxKukzfFnZa386fIKM9S80ZzLZEnudi4XZU6w0ZV1qepLbcNiles4FXAvKJ4cjzuXU9/XS1fJiB/WajabotsUXmpSHk0/CuxDB39hBkpPJoE+YFadnYsnNruuJzvYJEbchbviuYQtcntUnIF5RfBKki70ba5KITYSc7e8hlV5Q5HmwkMq2tuyAOeNfiZHBxUi4y4+7ZpfYfvpb3H+5GdSM7; 4:7O44hfliPb8+Cl+6/q+y0btsw28h70clQgusZaT3SyHYOEujZT9XL1lnKNm7p0b6+N1fm365df9l51xbhJHwEJPEj2fhrVvPn3B8K+HqKKuEFfxdSn/hbW2R0qrVdvducY3ifriuOTOBEjRGTcuxJszHA7TXYzf2ghyG1+MK25cdcYL3waN1r+XtTbZYoOaeDOn3X3Cu1rOm7n4RhVICjXMILwEHRYLNI/sMeQaYFXj6Aoq/q2yBdyN3+YKqNqXJtCm8yVd+TGiWiDddPF2dfpRMxEAK1MfurVDWDdqySAny2qetnIXYweekyKALRXa3elloDRQueHYdToTEMs9mXyD4HqLl8nKWYRpG9Kn30Ej2iRkVIhrbpWHLb1Tf7U6F X-Microsoft-Antispam-PRVS: <SIXPR06MB10234E9A0087108DF380E9F0D4AF0@SIXPR06MB1023.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:SIXPR06MB1023; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB1023; X-Forefront-PRVS: 085634EFF4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(33646002)(77096005)(110136002)(92566002)(36756003)(189998001)(47776003)(5001960100002)(50986999)(53416004)(2906002)(87976001)(5004730100002)(4326007)(4001350100001)(76176999)(586003)(229853001)(5008740100001)(1096002)(19580405001)(3846002)(2950100001)(46406003)(19580395003)(122386002)(40100003)(50466002)(23726003)(42186005)(83506001)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB1023; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB1023; 23:xrjIq7hIJhlcVhyE5vHrr9KzNzW3eSrVwpkjEq0OVqfK3r5K6kFHe9U65qDhHJZ4q5AkMj4uQMDpY/+0TQ6LjK6znzM3nh7l+L/TqDOCPtbW34CLmLPKIyZvdixbcOwJ2StCuwgT+9CY1U/fjmsZALj3dRtqH6dvO5UXRtcM/j5SgRY4O+L9YDsaPGDM+zCsuyXhqCPZrtUl0sJaMzA70M5jwfWx96cF/02Yh0CFAABP8PVtdb5pURRN7MfIznUa9OtZ2erOup+V84QH0g+bJKDWvfqY/hyiXa11V+JDuUzZ168z0yndRvN3LkmA2hKGqSrifvSKw+T0I4Td0sbH8qLSBplY1oPYvdSQUpWlJvwqc+mq+W+BYgv02UWK/8zOsLkbN3yH9QhveQc8+Qy5c37PLgc79QkQdZTnFim9VTPqlbj/KDJoX99+tvxgozLY73PtkihzSNVxutXrO2Zavse6toD5JUkU93cwc+t77596EBvCIQQs9/BrGKv0aOev93qX51+AJ7WX2UDSeHcM/o9qBGz5GQBRdqKJRBZVHqVG1E09HDC2DM3IvK6Efk6wmSPdrmzdCUPoPODjApNH+5RoeysdwTzQC0EOeP7pSc7ttM+x6lm6BbO3mygNKXOZOQMDflSwAMwyV9DxeVhIQfSkf9R3OpZFmRdDKDA6SzZyQhwJJy8q8Tve8Wb4UrSPbq2JeM1SuwOyVGwLvHqEmNgtOg/ozXIgiZupjD8aJ5qlvTwILsgBY2G1vS4SoHbi57znzHAH4XqPfShcFDWCxOgJufm6kTL30zOvzn6ufEn75gwhD1ym8c/A2oKtD4y8wa0+sWAHcG82GgwfPm31QmAmQq3YCFwTmspGfZhpTSc0vdCdg4YFa6n1Rl/vnXaA3rr8T3tUk2MGhY/Av37hyUlgjDr6CWOWfFUozuLWS WVLwlrBrlmSQUnro86u679x X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB1023; 5:QMoL9JdWQE3DrImMMh+XeQXDWzoQwO/CNL88cDlcr0S7jwIb/FDwaepP4KuG1mmWsU9Yd5Z9sotXhVFG8mid9iOF7SLeqZzknMaln8U87QByY23nLELTiMUemsdxwc7frRTD57HfeEMFLPrqG1f1lw==; 24:PsicqVgRDp7xn9udQzS+NCEPUq9IGlOZIWaVter+ygkoxQYTfs09dA03RODQcYXHpG9n0vZkheBUpfbzdyVyvyPLY6iu8lsirVyD2ycegjc=; 20:l+8DqxBGhv7nvcMQAuMUGfVqOj+PWpzN4YwsboZwgid1Cz2CshxaleZXu9Mp1Ir5UwKn4/wEG3v5dQTu+eXhPBQrxsTCsr4hGuMkQ8WRAU4FqZtqpoLpM0HzoLQyrH4YbJNNQ2iP065btlgfFSRVvU1m4n8H8jrEq9HJalCjcWI= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Feb 2016 08:13:45.6664 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB1023 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/src.c b/sound/soc/sh/rcar/src.c index dc1621a..03c6314 100644 --- a/sound/soc/sh/rcar/src.c +++ b/sound/soc/sh/rcar/src.c @@ -249,6 +249,8 @@ static void rsnd_src_set_convert_rate(struct rsnd_dai_stream *io, break; } + rsnd_mod_write(mod, SRC_ROUTE_MODE0, route); + rsnd_mod_write(mod, SRC_SRCIR, 1); /* initialize */ rsnd_mod_write(mod, SRC_ADINR, adinr); rsnd_mod_write(mod, SRC_IFSCR, ifscr); @@ -258,7 +260,6 @@ static void rsnd_src_set_convert_rate(struct rsnd_dai_stream *io, rsnd_mod_write(mod, SRC_BSISR, bsisr); rsnd_mod_write(mod, SRC_SRCIR, 0); /* cancel initialize */ - rsnd_mod_write(mod, SRC_ROUTE_MODE0, route); rsnd_mod_write(mod, SRC_I_BUSIF_MODE, 1); rsnd_mod_write(mod, SRC_O_BUSIF_MODE, 1); rsnd_mod_write(mod, SRC_BUSIF_DALIGN, rsnd_get_dalign(mod, io));