Message ID | 87zhwv9v1f.wl-kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 69235ccf491d2e26aefd465c0d3ccd1e3b2a9a9c |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E7B17157A for <patchwork-alsa-devel@patchwork.kernel.org>; Thu, 6 Sep 2018 03:21:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1A482A6CB for <patchwork-alsa-devel@patchwork.kernel.org>; Thu, 6 Sep 2018 03:21:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3D4B2A6F0; Thu, 6 Sep 2018 03:21:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 356232A6CB for <patchwork-alsa-devel@patchwork.kernel.org>; Thu, 6 Sep 2018 03:21:42 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id F18A8267812; Thu, 6 Sep 2018 05:21:40 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id AE000267815; Thu, 6 Sep 2018 05:21:38 +0200 (CEST) Received: from relmlie2.idc.renesas.com (relmlor3.renesas.com [210.160.252.173]) by alsa0.perex.cz (Postfix) with ESMTP id D774F26779A for <alsa-devel@alsa-project.org>; Thu, 6 Sep 2018 05:21:35 +0200 (CEST) Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 06 Sep 2018 12:21:34 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 4287D6DEE4; Thu, 6 Sep 2018 12:21:34 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.53,334,1531753200"; d="scan'208";a="290134208" Received: from mail-ty1jpn01lp0177.outbound.protection.outlook.com (HELO JPN01-TY1-obe.outbound.protection.outlook.com) ([23.103.139.177]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 06 Sep 2018 12:21:34 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ox3PzEdAd5CYjrwXx/VVzomgIZjTeAVJ5njgNe5YL7A=; b=J1nTSiH8uIRHWaS3P5enxk8tEwCv3Dc2sJgs6NNjMdL81pcTR9OG/RafeLTWdKqNxqAwq5ueNYn5Fj0zfPS3NssMSJjR1XMMGEAyF28PyDobmd4YBWTx7ejQ1KRXTPFlqz9mOzytqJp1dIPqqT3GlJ6oxg6Q7z/wzOcJWf7QESE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.130) by TYXPR01MB1872.jpnprd01.prod.outlook.com (2603:1096:403:12::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.16; Thu, 6 Sep 2018 03:21:33 +0000 Message-ID: <87zhwv9v1f.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> User-Agent: Wanderlust/2.15.9 Emacs/24.5 Mule/6.0 To: Mark Brown <broonie@kernel.org> In-Reply-To: <8736unb9nj.wl-kuninori.morimoto.gx@renesas.com> References: <8736unb9nj.wl-kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Thu, 6 Sep 2018 03:21:33 +0000 X-Originating-IP: [211.11.155.130] X-ClientProxiedBy: OSAPR01CA0039.jpnprd01.prod.outlook.com (2603:1096:603:14::27) To TYXPR01MB1872.jpnprd01.prod.outlook.com (2603:1096:403:12::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7b2cff22-31a0-4fdd-d182-08d613a7d8c8 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:TYXPR01MB1872; X-Microsoft-Exchange-Diagnostics: 1; TYXPR01MB1872; 3:h5d0EMfiWmkoLvqG7jRiuH1QPF5r/jsdu3ETFwqPcybERQJJQbofRUcNPgKfxEh7hU7YOjVdvfn4Ahe69x39aVdEtKO6uhHwySV0CV74D2iZKf3Cf2cJQMWGloeYjsY2zFfk7xRwPVBraH2GX4870unqigmBTNyRAqmyVJ2aSg5gyT9tlJEnw4OHAp4gaH6dAAL4q92C9cEQqONpiHFKHzAuwcPMKR7axCtyExng6ykCepBBQwxf/w+7Jk42rFfp; 25:2i8ntK22l1C3OBRwWtPrnWC6/7n2lj7TyToVvJVEKGWsEUJTqzHoW4z8f9nuWxK0HZVaA1HlhwjbkIeL6nWaNzeHQDWKE0y8OdW2NodSGBjDz5YsFXfcpw3A+BfESNWij+jlUbQumhwyYv0u/w61Y0fW+63yia9gCy6/bpKuZ0hZWTt4qmppcgk+hOvZM4FK14qQ6g9ns7ehuMnzkHxsDxq4tYftdUL47WojnY6aR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xokP9pfeNOw4i1y4lxbLVFweWKcInTUOTjw+zMHvJFH9YlGrUJR3r5CqR7va0rTA0NezE4x4UDhaqLUWs+gC+Xu/SnDixghlZ4vjgrd/WDN3Lic6jqNOvPbvabXtUH99Irsa6QTfA== X-Microsoft-Antispam-PRVS: <TYXPR01MB1872CAC33A270B2C36B88C13D4010@TYXPR01MB1872.jpnprd01.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699016); SRVR:TYXPR01MB1872; BCL:0; PCL:0; RULEID:; SRVR:TYXPR01MB1872; X-Forefront-PRVS: 0787459938 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(366004)(136003)(376002)(346002)(39860400002)(396003)(189003)(199004)(58126008)(25786009)(3846002)(305945005)(5660300001)(16526019)(186003)(6486002)(16586007)(2906002)(81166006)(81156014)(47776003)(8676002)(69596002)(66066001)(6916009)(7736002)(68736007)(52116002)(8936002)(4326008)(316002)(7696005)(76176011)(106356001)(86362001)(105586002)(53416004)(26005)(386003)(446003)(476003)(486006)(6116002)(50466002)(97736004)(11346002)(956004)(2616005)(53936002)(36756003)(478600001)(23726003)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:TYXPR01MB1872; H:morimoto-PC.renesas.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: renesas.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; TYXPR01MB1872; 23:YThi+zN4u1SXMUelI8cBHpKHtv6GN71gmY8sMKCXd?= Mup3Ezzyjg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wgyKcOz70dhCB3bv8+dSvgAb7e1rh7rtKbKyn1LmbeHUVtytgREIA7QSdeKOw=; 7:KUNy8YYosDX5UaQ0XJegNYBS7vL5b65jDLoyHSvLm3dmUTdLIt0x2f7dmvIW1ONmsneX4XRQs0NA9XPVFpRITkH1hRVgDEA12e7vMdCL/Oh9+QYKgQ4lJUTQiHoj7c4yGAYicm1HqCikJKCbk7bMKDvG9MTW0MA1MqB0uRhZrUvctsMYyJ60LJIW1X1Gp5irtoZFxg/TR8QvJFn9eOqOzVDISyyip7KpvTg6VtiHZNlHwPtuw0sdsB+XxJVuihdS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; TYXPR01MB1872; 20:CdsFNxXYBzKtLWYy4FCtOqNg7LBhGo/UVuevHrySbg7GUm5zShz5sa+muaCV0N7JjMLmihkrxrTiSZhs9+YHC1wXQB2AviOUxEUI4aKyrXjd4fLJWtKDhYUx8odYIqKDVTerdRU39NjKLKVl9AtMeCpA2QAJp5rgDB0VQzlrTQw= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2018 03:21:33.6072 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7b2cff22-31a0-4fdd-d182-08d613a7d8c8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYXPR01MB1872 Cc: Linux-ALSA <alsa-devel@alsa-project.org> Subject: [alsa-devel] [PATCH 2/4] ASoC: rsnd: adg: care clock-frequency size X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" <alsa-devel.alsa-project.org> List-Unsubscribe: <http://mailman.alsa-project.org/mailman/options/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=unsubscribe> List-Archive: <http://mailman.alsa-project.org/pipermail/alsa-devel/> List-Post: <mailto:alsa-devel@alsa-project.org> List-Help: <mailto:alsa-devel-request@alsa-project.org?subject=help> List-Subscribe: <http://mailman.alsa-project.org/mailman/listinfo/alsa-devel>, <mailto:alsa-devel-request@alsa-project.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series | ASoC: rsnd: bugfix patches for linus/master, and v4.20 | expand |
diff --git a/sound/soc/sh/rcar/adg.c b/sound/soc/sh/rcar/adg.c index 3a3064d..051f964 100644 --- a/sound/soc/sh/rcar/adg.c +++ b/sound/soc/sh/rcar/adg.c @@ -462,6 +462,11 @@ static void rsnd_adg_get_clkout(struct rsnd_priv *priv, goto rsnd_adg_get_clkout_end; req_size = prop->length / sizeof(u32); + if (req_size > REQ_SIZE) { + dev_err(dev, + "too many clock-frequency, use top %d\n", REQ_SIZE); + req_size = REQ_SIZE; + } of_property_read_u32_array(np, "clock-frequency", req_rate, req_size); req_48kHz_rate = 0;