Message ID | 87h9q9v6dw.wl%kuninori.morimoto.gx@renesas.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 061015f7bfe2e278243bcc9f04346cfc991a5342 |
Headers | show
Return-Path: <alsa-devel-bounces@alsa-project.org> X-Original-To: patchwork-alsa-devel@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 2C51D9F399 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 15 Jun 2015 06:28:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5FCD820532 for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 15 Jun 2015 06:28:44 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 24B112052C for <patchwork-alsa-devel@patchwork.kernel.org>; Mon, 15 Jun 2015 06:28:43 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 2F3F9261A53; Mon, 15 Jun 2015 08:28:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 3DA4C2614F4; Mon, 15 Jun 2015 08:25:57 +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 448C52614A1; Mon, 15 Jun 2015 08:25:56 +0200 (CEST) Received: from relmlie2.idc.renesas.com (relmlor3.renesas.com [210.160.252.173]) by alsa0.perex.cz (Postfix) with ESMTP id ED4DE2614F4 for <alsa-devel@alsa-project.org>; Mon, 15 Jun 2015 08:23:55 +0200 (CEST) Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 15 Jun 2015 15:23:54 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 94B184579E; Mon, 15 Jun 2015 15:23:54 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 8C1B72806E; Mon, 15 Jun 2015 15:23:54 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 84FF32806D; Mon, 15 Jun 2015 15:23:54 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id RAU22694; Mon, 15 Jun 2015 15:23:54 +0900 X-IronPort-AV: E=Sophos;i="5.13,617,1427727600"; d="scan'";a="188302195" Received: from mail-hk1lp0120.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.120]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 15 Jun 2015 15:23:53 +0900 Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; Received: from morimoto-PC.renesas.com (211.11.155.132) by SIXPR06MB317.apcprd06.prod.outlook.com (10.141.125.143) with Microsoft SMTP Server (TLS) id 15.1.190.14; Mon, 15 Jun 2015 06:23:52 +0000 Message-ID: <87h9q9v6dw.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown <broonie@kernel.org> In-Reply-To: <87twu9v6kn.wl%kuninori.morimoto.gx@renesas.com> References: <87twu9v6kn.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Mon, 15 Jun 2015 06:23:52 +0000 X-Originating-IP: [211.11.155.132] X-ClientProxiedBy: OS2PR01CA0034.jpnprd01.prod.outlook.com (25.164.161.144) To SIXPR06MB317.apcprd06.prod.outlook.com (10.141.125.143) X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB317; 2:DGvXu8XeySnkg0EEEgCiSOsnX9CCKA6diXkzrmQouT41quIBjFWOY+6+CVIFMzCa; 2:J1ORHscXeuHeg2GabM7CagayCduc/Mav5lOA/gSxNzjmXmwGrIv/quhVGhFAUVtTEhY0LcsG4efag5FWiBWKj4c4+tzy1Gu5YKR17v7rEe8zA7RxvkVnvo4MDppvvMk8aLziCQIJJPBl2MQy8JvcmQ==; 6:QsD0pSnP1F6mH6ncIVuM57YakR8hHiX6a3nmuUAgthGckrupUOThuk2Pls4UaIz7HGac/wpNgYVJHtJuSg0W32jXkLT/i/xSLVFw+pL1DJE4LVvEkS3wB0QsBxr5PuW//tolgRqDkrI3uteK3V3gDMY8Tx1Ow3yrNhck/7j4JhkyUuQxmGBtcMoZQeukqP32YMITVJM1gYXbnO1b6+j8P3xuiUgIsbCX/tm+yJ0Jetf5JyO7OGi3yUtX8C8dxr8wVqZiQMEMFDcCmFnvxM2X/oPuaCFOOWrx/mm627roKekpPmIC+WUMjhSfjBbKWVLiDVchwqkfZ5RJPG6I5Q72fJkr9S+KJxziCC1ntcGTT6/atejuTIrutnz2Bft1Lm4R74nljXh3JjAqSfxKwDZa1ey0SlRyTEevf52XaP4iWd1wnwzwmRZ4wThN4fo2GMYH9quAKHoV2KhTi5joEeRK5xomx2WzpAVSNzi+X6BFVmuktFyQ8irAfkXFC7j32TrB X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SIXPR06MB317; X-Microsoft-Antispam-PRVS: <SIXPR06MB317427B75402BFB7230F4EED4B80@SIXPR06MB317.apcprd06.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(520003)(3002001); SRVR:SIXPR06MB317; BCL:0; PCL:0; RULEID:; SRVR:SIXPR06MB317; X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB317; 3:l84IOH1r7Sq059OHYmrqMtthiL16ODcY95TF4QMHdi0PLRTA7AA8c7G5wTDw49OwFz6epgrjLCACoOX9KRV2jPjFChPgddnDtBGXhJpviC8iJDVEKfr+3MXgdk7tYa0EDI5f9IMpXPJySZOA8Gy0iD45rZ2FZWp1wiXM4gq8BJJJkYk/I9EZIr+s6WrVCCvRESaSycTKFRk0i0WD3Lgnl2wzGoY9OxzK/5aXBqM+/Uj2I0BYQ42AnhVyMPdDTOGoxRYi8gM462dz41jl0ydsIBZz6BO03eI5cVNh+Y0auihC+al2lQzgXuUFc8assJ8n X-Forefront-PRVS: 0608DEDB67 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(50986999)(54356999)(76176999)(110136002)(2950100001)(77096005)(575784001)(46102003)(33646002)(19580405001)(23726002)(66066001)(47776003)(229853001)(36756003)(86362001)(19580395003)(83506001)(87976001)(50466002)(122386002)(40100003)(4001350100001)(5001960100002)(92566002)(77156002)(189998001)(62966003)(53416004)(42186005); DIR:OUT; SFP:1102; SCL:1; SRVR:SIXPR06MB317; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SIXPR06MB317; 9:Ox7XT1oQ73wUA+MumZGNmDNOutZGYWQoQjavkoIau5HCLg+8fuZWHqKSp0VQJ0Q6fHkAzWXflkuo+v9LDLrClxWj5v1VvMwmJGUe/7gkCPiHhvi2/HewUfDW/WZHICYiS5WBaWBy8Uy5aW+Vr77HwBKnKeNUYe75B6bDmocI1Ime3CLH2RVHX7UKqXZsCo/da3j3O1ZCOs7H5Lz84hooCa1bL730NzFkUGscsGFmIOsqUtIy2AV8dUfs4MaJZnfQMLuJLARvcHUf1m4/N/lJC8wPm2FSvxSgFKbYmZMD2kDHmK8rkoHcdNr/2f4JowLXq3+S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52.2986 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SIXPR06MB317 Cc: Linux-ALSA <alsa-devel@alsa-project.org>, Simon <horms@verge.net.au>, Liam Girdwood <lgirdwood@gmail.com> Subject: [alsa-devel] [PATCH 09/21] ASoC: rsrc-card: tidyup return value of clock error 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 |
diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound/soc/sh/rcar/rsrc-card.c index d0d74b5..52123d6 100644 --- a/sound/soc/sh/rcar/rsrc-card.c +++ b/sound/soc/sh/rcar/rsrc-card.c @@ -283,10 +283,8 @@ rsrc_card_sub_parse_of(struct rsrc_card_priv *priv, */ if (of_property_read_bool(np, "clocks")) { clk = of_clk_get(np, 0); - if (IS_ERR(clk)) { - ret = PTR_ERR(clk); - return ret; - } + if (IS_ERR(clk)) + return PTR_ERR(clk); dai->sysclk = clk_get_rate(clk); dai->clk = clk;