Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3944339rwb; Tue, 16 Aug 2022 11:22:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR574vTj8a592UeQoKgEz6bWoiMrUKa5uAcme2ajOH1MvTVhuG4ogspzt6+YhGWAGcQ/aROe X-Received: by 2002:a17:907:7b8e:b0:731:4e73:89f2 with SMTP id ne14-20020a1709077b8e00b007314e7389f2mr13608691ejc.562.1660674147208; Tue, 16 Aug 2022 11:22:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660674147; cv=none; d=google.com; s=arc-20160816; b=m5PZ+7PcGc+FrvtJ53O7rBSEsxVL+7SUOcTQjoFKLj4IHQGWA9K+CkQr0Hwi34f/co hFa7CUVsS4aoR7krqYwDCNGI8DuTum0jp7lBZGvVkOXKPqJIFA9T8WZPUgVqK4iwHIq2 V857O84H8uIT7GYv9nOEJGdwq6yU/qdSVyow7Yj+STKEpE3Kh9Dd1MZyTv6dw/rA0wU0 ndrVgtCSBjU3safk9zK4CktKjCDKu5DjyVsodlbOQ6cGc740zW3bMyKPnaS+DaCKIyRN ja1yH/Yo2SfoLDVQNtsMW7STymipdA6h8mp6fn4dm5ENJ+lYevAXiXltr4AZjtvhS868 KmZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=90NZNd/sudluIG9VfujaidFmR9GwTmTxF01zHNlWwuY=; b=EvUoucE5VaNsSTLo911KfbC4034rzTz+EIoLoXug47lmoIZo9dRnDbjVwJ8aZjALkH AmNUtKacdsoQKxFlI3p4TOAXdk0QwbwTVXHNeaQN3TJLdh1Yx479kUptP2yV9EHFt2yp VaKfujCiU5lRXTu62zNnFpM2E2zV0txFMU63Awm81A72LtLqj85rFmQvSHFmwmSlfsQN vGfPBhd9GSHL9NUfB3r+ZKdbUElIXMHBi1JNi6sJJWZBqAteJ9YPqzjtF/voxgyOB+3F QNr2lTFMuHkqvN2NxYKVwQe2eWx4RUKR0b+N0ryeEeg5wKMxGCmiXLscCmYcN7Rv72OZ xM5w== 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 a26-20020a170906245a00b0072f22d91836si8881070ejb.541.2022.08.16.11.21.54; Tue, 16 Aug 2022 11:22:27 -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 S233421AbiHPRza (ORCPT + 99 others); Tue, 16 Aug 2022 13:55:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236826AbiHPRzJ (ORCPT ); Tue, 16 Aug 2022 13:55:09 -0400 Received: from bg5.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0A6383BD7 for ; Tue, 16 Aug 2022 10:55:05 -0700 (PDT) X-QQ-mid: bizesmtp89t1660672485t22m9r2k Received: from harry-jrlc.. ( [182.148.12.144]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 17 Aug 2022 01:54:35 +0800 (CST) X-QQ-SSF: 0100000000200060D000B00A0000020 X-QQ-FEAT: WRZea3rwxQm38bQtddIlQQzQMDVWPimn6PrcR59epaiQk0+6UIUD596bEHmjy ihl3I06UN9FxtDhlOy0SWIBUsOo0PNFUMNuZHuQw65SAGg+qpTKQp6ubvtZdpgBQvlHvqBh NGVIP31euZHvYV5C9f9stb5nTJ0TReJmwnlu8IDrRpN1Ono8o/TrbAapEV7wKJ0xlO74E9n dsYMXMsW7NliJi6zdYzDKx4iottjrN4GzHaeA52uN4hxTpbQTGdjEHSchRvgFZdapDvH+dr m05XcZtYIYX6K8YvnQPNzgBESus+kJUrJqAEuYiOw7PbqwGLmz/Ddj4PuO025+x6rzvDKcm S7ZxA88hcs1fr6Hljo/9mLWN+947Vf1cnE9WRLis/ogwwD6DHtLVpBxZr4qVg== X-QQ-GoodBg: 0 From: Xin Gao To: perex@perex.cz, tiwai@suse.com, peter.ujfalusi@gmail.com Cc: lgirdwood@gmail.com, broonie@kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] ASoC: Variable type completion Date: Wed, 17 Aug 2022 01:54:34 +0800 Message-Id: <20220816175434.8263-1-gaoxin@cdjrlc.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, 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 'unsigned int' is better than 'unsigned'. Signed-off-by: Xin Gao --- sound/soc/ti/davinci-evm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/ti/davinci-evm.c b/sound/soc/ti/davinci-evm.c index 68d69e32681a..392bf17564bf 100644 --- a/sound/soc/ti/davinci-evm.c +++ b/sound/soc/ti/davinci-evm.c @@ -23,7 +23,7 @@ struct snd_soc_card_drvdata_davinci { struct clk *mclk; - unsigned sysclk; + unsigned int sysclk; }; static int evm_startup(struct snd_pcm_substream *substream) @@ -57,7 +57,7 @@ static int evm_hw_params(struct snd_pcm_substream *substream, struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); struct snd_soc_card *soc_card = rtd->card; int ret = 0; - unsigned sysclk = ((struct snd_soc_card_drvdata_davinci *) + unsigned int sysclk = ((struct snd_soc_card_drvdata_davinci *) snd_soc_card_get_drvdata(soc_card))->sysclk; /* set the codec system clock */ -- 2.30.2