[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220816175434.8263-1-gaoxin@cdjrlc.com>
Date: Wed, 17 Aug 2022 01:54:34 +0800
From: Xin Gao <gaoxin@...rlc.com>
To: perex@...ex.cz, tiwai@...e.com, peter.ujfalusi@...il.com
Cc: lgirdwood@...il.com, broonie@...nel.org,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
Xin Gao <gaoxin@...rlc.com>
Subject: [PATCH] ASoC: Variable type completion
'unsigned int' is better than 'unsigned'.
Signed-off-by: Xin Gao <gaoxin@...rlc.com>
---
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
Powered by blists - more mailing lists