aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Beznea <[email protected]>2023-01-30 14:06:44 +0200
committerMark Brown <[email protected]>2023-01-30 18:36:23 +0000
commit36187a67ab931eae8b7d13d80fccd097971b7bac (patch)
tree39784636154a62fb05e4a292e5e257305edb023c
parentaaecdc32b7e35b4f9b457fb3509414aa9a932589 (diff)
ASoC: mchp-spdifrx: use unsigned long to store clk_get_rate() value
clk_get_rate() returns an unsigned long. Use a variable of type unsigned long to store it. Signed-off-by: Claudiu Beznea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/atmel/mchp-spdifrx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/mchp-spdifrx.c b/sound/soc/atmel/mchp-spdifrx.c
index b81fc77728df..90b2fb3a9844 100644
--- a/sound/soc/atmel/mchp-spdifrx.c
+++ b/sound/soc/atmel/mchp-spdifrx.c
@@ -764,8 +764,8 @@ static int mchp_spdifrx_rate_get(struct snd_kcontrol *kcontrol,
{
struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol);
struct mchp_spdifrx_dev *dev = snd_soc_dai_get_drvdata(dai);
+ unsigned long rate;
u32 val;
- int rate;
mutex_lock(&dev->mlock);