diff options
author | Adam Thomson <Adam.Thomson.Opensource@diasemi.com> | 2015-09-16 12:13:19 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-09-19 21:07:42 +0300 |
commit | 5b64c173cdea21105eb4794487b3d593f0a2e6c3 (patch) | |
tree | b0d838c7eddc8ca8cc395b184be82db2f7756da8 /drivers/clocksource/h8300_timer16.c | |
parent | 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff) | |
download | linux-5b64c173cdea21105eb4794487b3d593f0a2e6c3.tar.xz |
ASoC: fsl_ssi: Fix checking of dai format for AC97 mode
Current code incorrectly treats dai format for AC97 as bit mask
whereas it's actually an integer value. This causes DAI formats
other than AC97 (e.g. DSP_B) to trigger AC97 related code,
which is incorrect and breaks functionality. This patch fixes
the code to correctly compare values to determine AC97 or not.
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Acked-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/clocksource/h8300_timer16.c')
0 files changed, 0 insertions, 0 deletions