ASoC: Variable type completion
Subsystems (3)
PATCH 1/1 ASoC: Variable type completion
'unsigned int' is better than 'unsigned'.
Signed-off-by Xin Gao <[email protected]>
--- sound/soc/ti/davinci-evm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/ti/davinci-evm.c +2 -2
@@ -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 */
Signature · 1 line
2.30.2