Message ID | 8737sh733t.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@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 50884C0553 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 25 Feb 2016 05:52:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C30E42028D for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 25 Feb 2016 05:52:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EF5AD20253 for <patchwork-linux-renesas-soc@patchwork.kernel.org>; Thu, 25 Feb 2016 05:52:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759453AbcBYFwT (ORCPT <rfc822;patchwork-linux-renesas-soc@patchwork.kernel.org>); Thu, 25 Feb 2016 00:52:19 -0500 Received: from relmlor3.renesas.com ([210.160.252.173]:45555 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1759871AbcBYFwR (ORCPT <rfc822;linux-renesas-soc@vger.kernel.org>); Thu, 25 Feb 2016 00:52:17 -0500 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 25 Feb 2016 14:52:15 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 9F85D64320; Thu, 25 Feb 2016 14:52:15 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 84B5E480A4; Thu, 25 Feb 2016 14:52:15 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 7FCBF48014; Thu, 25 Feb 2016 14:52:15 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac4.idc.renesas.com with ESMTP id QAL20348; Thu, 25 Feb 2016 14:52:15 +0900 X-IronPort-AV: E=Sophos;i="5.22,496,1449500400"; d="scan'";a="206421098" Received: from mail-hk2apc01lp0214.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.214]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 25 Feb 2016 14:52:14 +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=JQ+RgcQxodjwcrRJ26sRLwKvEop9Y4fSCp53mRCBRAM=; b=Ms/CKYljc9VIv/lbkNG5SPT6F622ROWN3lggu2n9Zkz8FFItVmjXvxO0yNiA59N4ytExo28k6B1lgU0gQQAAl9/TROZp4IH4CCN/jCLFNfbqNye3GGi6W8YlSrQbPJOQ5TOCwQ5Byy4/sgYeonLDF/rmRkFvYhkoQubx3dP2j30= 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 HK2PR06MB1010.apcprd06.prod.outlook.com (10.161.187.27) with Microsoft SMTP Server (TLS) id 15.1.409.15; Thu, 25 Feb 2016 05:52:13 +0000 Message-ID: <8737sh733t.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Subject: [PATCH 3/6] ASoC: rsnd: tidyup rsnd_ssiu_init_gen2() User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown <broonie@kernel.org> CC: Simon <horms@verge.net.au>, Linux-Renesas <linux-renesas-soc@vger.kernel.org>, Linux-ALSA <alsa-devel@alsa-project.org>, Liam Girdwood <lgirdwood@gmail.com>, Laurent <laurent.pinchart@ideasonboard.com> In-Reply-To: <877fht7376.wl%kuninori.morimoto.gx@renesas.com> References: <877fht7376.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, 25 Feb 2016 05:52:13 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0023.jpnprd01.prod.outlook.com (25.161.225.161) To HK2PR06MB1010.apcprd06.prod.outlook.com (25.161.187.27) X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1010; 2:Us6QX5BN0F+jiK+LCsvCGdQ1ynz+crz3jCBeaYEQf378KbCWalzyCBHwBtftOUBDx271UaR0eF6ZwVuDBjhr0CSpBRxhcLZNjxqeUGmYk5mBcW9Bxa75iKOXQqcI4BE99vK6GDtkqLM8QvU9aAYf1w==; 3:luJKUiE5AUGO9SvokwV9aTPU0E791Z8nuNLWtYUwf1LEXJWZpJnUqv7e6nPNIo6a9ubcraqpdJsaVVdaXDQHdB5mpy12LjyrNA6mRgkkHzTi9lqDDFmud0WQ+ApytZE9; 25:6bLURg49M5aw7Iw4xt8YkFOm4rOWr8Wr41DzjT+ssYPTtykVTBXH9IrPm3mJqsRbkb7afgDJrnwzZxPV8dqFjD8OkDtkQw4JpO5QD2qJs/FkY3S/od4kF6kxDkwA8jXnpbr8ScYwvIkoVBmHQp+RkPVSuG/vlOgNsR/ESaUQHXkK2AwQpwx2bP3I4YMMHdA6umLMnf34FY8mD2XdrT2u2i9UcbA1XEI94SFAQMfvMRQK/CdKXGZQDZpKfo9aqVdAwnSCai6/nVv7xPjBZr18mX4DqsUbpPS/s0hWYK8a7zMq83U9MEOgoKA3Pg8jBcLjjj5DyacL/EtsnjtTpriIeQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HK2PR06MB1010; X-MS-Office365-Filtering-Correlation-Id: 3ba12e3f-8ea3-429b-f935-08d33da7cf96 X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1010; 20:J0X2ElX3VU3HX7gpx9rSBYwqwIqWYohrStGXshUvGS7UB5Cxo/1Sc9utvEYFe9EDD1aGSM8XnPiUmc8UcSRdB5Pj/oIH3wCDSaUxl4XGYSgzDquhXc2YE2jMde/j1YpXQW3G393C/zSNl8JBHM1W1Sdul6HYqfOSDrVpl+fSH4I7fy88RKpUpH9ajXZb52MECS58t4bcq2+zclb9vDf3edI0WZPWC+ph2HwWaWeqFIXPD+ZmRXJFuBTh3Amo8qVXTBBU8CFmLjvKhtLNdkFHBKbDzP3sBTL5ZWre93V6g2qxFgDDvhBPOtwEcpjDkPtcCMUdCP1EELLUTsM1HdnjTrwrQdlt+AwCv5hdhD/XYNrZLO6CvcxfcHuwtw7EqdQMHLvzpk6vDxxNki8ENXz/hfLTnbQToJx4At8uoghs46eyFTufngWsDsd2gFrLxQIzwDbLAfKkuDUelmpZy97SRqvWSZ8tTId2VPltUMWktDcnJHt5BvGNWgzWVz6x26cb; 4:Q4L1+zdhTaYl0UdvCpNLo021A+P0HsJbq2GlZqD+z2s+x4UsaDa1NDahhNVp3JeueUw7zzoYtVucAn3tFKBfOj3bOvQ/KJMUIM9Ty3EkP4j0eYX2e+Ig5ZEzvDJkZvCywd1lmo06kM/wjnWufR/Xjjdzq9Msp2MF0q5601SE8D4hr3dRFX7W6VtcqtwdqO77UXUm2FKYzN4Drnzszak6VPtpv/kykfGjPniYRkj8GM7cm6C/pgdCwLoZxYea85rb+0tDi+45iEbyiwyEsMuBOtjN1S2UAdXQcJfE6GpqP07Ms+qexbXx92sAWQ/RnlidpC4qiVVTIy3aL8il3MOpy7YmQ12PGIKWqXJAPXh0dVaYcyM0awdS0W54+t38ZQTv X-Microsoft-Antispam-PRVS: <HK2PR06MB10101551BA749C3628D5597BD4A60@HK2PR06MB1010.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:HK2PR06MB1010; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB1010; X-Forefront-PRVS: 08635C03D4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(83506001)(42186005)(46406003)(5004730100002)(53416004)(2950100001)(23726003)(5008740100001)(77096005)(33646002)(1096002)(66066001)(19580395003)(40100003)(2906002)(76176999)(50986999)(122386002)(4001350100001)(54356999)(5001960100002)(50466002)(110136002)(87976001)(4326007)(189998001)(19580405001)(92566002)(36756003)(229853001)(47776003)(575784001)(86362001)(586003)(3846002)(6116002); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB1010; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB1010; 23:eLi7/WCIhhyqHGz3MFyEN+DDLvaUuU79KAORk/FNA?= =?us-ascii?Q?UgktUamt4kqxstYDc7QFPFXHadv5WX0zdyMprd5Jy8Ecs/PNImXKviZ3xomT?= =?us-ascii?Q?trjGojZ1/gemAeQ7fHEuMWEfv+ErehI4d09LPWPBKeDCci4QnDflJKIkLKr+?= =?us-ascii?Q?Nkml21KVHO0wYd4dHXiPjfuJs1m4FkqESw22z2RQKrQ/b9gXwMfTmudooLnb?= =?us-ascii?Q?tCuEjjoIR4MreA1ZBJT3lIQt1V85HTMzzVGcAYn3HztwtgaBR5QHo23umV1b?= =?us-ascii?Q?MPPXgbpFK6z06n3zhKH8ZItS1xdAUcsSrWIHEUDdemtoBQmOXqG/8VEkEwgr?= =?us-ascii?Q?LCapS7IEALB48afUweXkCRp03wvfW1WoLCJYr4/c0CVeJ1UifNesysaawdqB?= =?us-ascii?Q?5QUjxY/2JNjWsbH7sX+9d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mbqiAsoqDMxYTli/JExvs8yWk26Xrsb8yr2lgRrqflDGBLHJ07UYfbjIn5p1nWmtZ8zcIbF8jnWe0Sryu7yN5ITfjeN49gLlBLIB0PmTPA8WATVm+GwQLjS52y9casSqth1J9PBz0sxfYBLDqwnlxvfFB5hurHdND1Qic= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2016 05:52:13.4576 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB1010 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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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/ssiu.c b/sound/soc/sh/rcar/ssiu.c index 1b8ea0e..0d964a0 100644 --- a/sound/soc/sh/rcar/ssiu.c +++ b/sound/soc/sh/rcar/ssiu.c @@ -115,13 +115,12 @@ static int rsnd_ssiu_init_gen2(struct rsnd_mod *mod, } if (rsnd_ssi_use_busif(io)) { - u32 val = rsnd_get_dalign(mod, io); - rsnd_mod_write(mod, SSI_BUSIF_ADINR, rsnd_get_adinr_bit(mod, io) | rsnd_get_adinr_chan(mod, io)); rsnd_mod_write(mod, SSI_BUSIF_MODE, 1); - rsnd_mod_write(mod, SSI_BUSIF_DALIGN, val); + rsnd_mod_write(mod, SSI_BUSIF_DALIGN, + rsnd_get_dalign(mod, io)); } return 0;