diff options
Diffstat (limited to 'sound/soc/tegra/tegra20_i2s.c')
-rw-r--r-- | sound/soc/tegra/tegra20_i2s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra20_i2s.c b/sound/soc/tegra/tegra20_i2s.c index 9ebe36795b07..e6de1c07a399 100644 --- a/sound/soc/tegra/tegra20_i2s.c +++ b/sound/soc/tegra/tegra20_i2s.c @@ -27,7 +27,7 @@ * 02110-1301 USA * */ - +#include <asm/mach-types.h> #include <linux/clk.h> #include <linux/module.h> #include <linux/debugfs.h> @@ -222,7 +222,7 @@ static int tegra20_i2s_hw_params(struct snd_pcm_substream *substream, i2sclock = srate * params_channels(params) * sample_size * 2; /* Additional "* 2" is needed for DSP mode */ - if (i2s->reg_ctrl & TEGRA20_I2S_CTRL_BIT_FORMAT_DSP) + if (i2s->reg_ctrl & TEGRA20_I2S_CTRL_BIT_FORMAT_DSP && !machine_is_whistler()) i2sclock *= 2; ret = clk_set_rate(i2s->clk_i2s, i2sclock); |