Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp743877rwd; Thu, 8 Jun 2023 07:13:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5t4LwTBMG2q4g08cJBWTGrQxepDe1ARhzEbgZ1QEL+bh3j38BgmmxMXEpBABpPT4lrQ+Cr X-Received: by 2002:a17:90a:c594:b0:24d:ec16:6f8c with SMTP id l20-20020a17090ac59400b0024dec166f8cmr4405743pjt.20.1686233587457; Thu, 08 Jun 2023 07:13:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686233587; cv=none; d=google.com; s=arc-20160816; b=k6kGv/+Q3AcGib4C3cb50FB/UU+ycgUrLEG5pa26FH+ipM0o+fGQbpkdrAtczda2ci LJUFmIc7YnxkETIXyecNxqfhx0dPBKZ+D6ns//vIugSKX1Y/QPDlwmKJIFSyi8FtRR3K AAKHfNlQaPOLUFBQHTeisH3ic+z7XzPNVBsygea1o25TLUMZwVSiImvQCr7OBiD6AZ6Q YRXZh5CaH6HjgmKaZnpqt48Df0rjRmsfyksiBuF/Jjc6MXyuNuaPh0HD9xKUCUCZPRYx jLlfFhMs9sPMd80JgrPrkFV07M0qE0NXzDnwKhg4VvVTPvzzlybcWbeI2kD8Cei4tDjV cgPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=zj72n9llFkYs6STDGNUrJ584WM6tBPFLC0tu4WVCV7w=; b=z5pOn5OyVwYtExQPiiE0MByCf/NbpTkxvx2BiwpnUvdmCefY3YOBNMiCtEgNRd+0oi M2emuLPZiFn6MWmYu/e8I0J+oGZAPCfgSK3U45L5x69RfsvviY5Hj+OwHRiR8I+nwPxC xc/lfd6o1/S1IW9DRy4U8BrS6MXhDXBMdpRlrMGPJdXBYl+lYy7qCS7PgbGqg/83xy+y TOYmRWdRz/tacYYM+q633MwlMW7HaPHSELepLh10BG5vTGsjvHd4GYGP41ALDmJPTUHq XfT9nruscFkoYDFhNS73Y91EdcPXe8P9HFN+GI1JRtq8CYAQGJL5GKIhcHfoLJBvBTaZ e6Zg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f14-20020a17090a9b0e00b00256a04ff7cbsi1110446pjp.119.2023.06.08.07.12.52; Thu, 08 Jun 2023 07:13:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236607AbjFHN56 (ORCPT + 99 others); Thu, 8 Jun 2023 09:57:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235100AbjFHN55 (ORCPT ); Thu, 8 Jun 2023 09:57:57 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB2C2E2 for ; Thu, 8 Jun 2023 06:57:54 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 378BD24E20F; Thu, 8 Jun 2023 21:57:52 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 8 Jun 2023 21:57:52 +0800 Received: from SD-Server.starfivetech.com (183.27.98.122) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 8 Jun 2023 21:57:51 +0800 From: Walker Chen To: Mark Brown , Claudiu Beznea , Dan Carpenter , Liam Girdwood , Takashi Iwai , "Jaroslav Kysela" , Walker Chen CC: , Subject: [PATCH v2 0/2] Fix error check and cleanup for JH7110 TDM Date: Thu, 8 Jun 2023 21:57:48 +0800 Message-ID: <20230608135750.11041-1-walker.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [183.27.98.122] X-ClientProxiedBy: EXCAS064.cuchost.com (172.16.6.24) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some minor issues were found during addtional testing and static analysis. The first patch fix the error check for the return value of devm_reset_control_array_get_exclusive(). The second patch drop some unused macros. Fixes: fd4762b6b5cf ("ASoC: starfive: Add JH7110 TDM driver") Changes since v1: - Fix an error check in jh7110_tdm_clk_reset_get(). - Return to use *_BIT to indicate the shift and remove some unused macros. --- v1: https://lore.kernel.org/all/20230607081439.1517-1-walker.chen@starfivetech.com/ Walker Chen (2): ASoC: starfive: Fix an error check in jh7110_tdm_clk_reset_get() ASoC: starfive: Remove some unused macros sound/soc/starfive/jh7110_tdm.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) -- 2.17.1