diff options
author | Viorel Suman <viorel.suman@nxp.com> | 2018-07-18 13:04:57 +0300 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 01989fd73cb7215071c64ad45e39b2cb8ed6b798 (patch) | |
tree | f7c524be8f88584abf3d61dd110bb99c603c514c /sound | |
parent | 05884b5469f8451007270fa70cc2616a41df35f9 (diff) |
MLK-18955-3: ASoC: fsl_spdif: restore arate type
Changing "arate" type to u64 makes 32-bit kernel build to fail,
so restore the previous type.
Fixes: bb7d18078220 ("MLK-18955-2: ASoC: fsl_spdif: fix sysclk_df type")
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/fsl_spdif.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index 1cf14b2a01a8..a6907337be80 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c @@ -1216,7 +1216,8 @@ static u32 fsl_spdif_txclk_caldiv(struct fsl_spdif_priv *spdif_priv, { const u32 rate[] = { 32000, 44100, 48000, 96000, 192000 }; bool is_sysclk = clk_is_match(clk, spdif_priv->sysclk); - u64 rate_actual, sub, arate; + u64 rate_actual, sub; + u32 arate; u16 sysclk_dfmin, sysclk_dfmax, sysclk_df; u8 txclk_df; |