diff options
author | Viorel Suman <viorel.suman@nxp.com> | 2018-07-18 13:04:57 +0300 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:32:50 +0800 |
commit | 7527325849fb10cbaa182ca0e3436e7126afa2fb (patch) | |
tree | 2d889ff40af012f2d0b460befb8e8375bbcbb8c6 /sound | |
parent | 4fdb26cc9cbedd1b1d3a303f44828633f38edbc2 (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>
(cherry picked from commit 5250b586a5975d27efe73a5b4ca8d8e9c27cc6ab)
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 6b0f4c860623..a435875e8b53 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; |