mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
ASoC: tegra: fix I2S bit count mask
This register field is 11 bits wide, not 15 bits wide. Given the way this value is currently, used, this patch has no practical effect. However, it's still best if the value is correct. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
6dbe51c251
commit
0af18c5cc9
2 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@
|
|||
|
||||
#define TEGRA20_I2S_TIMING_NON_SYM_ENABLE (1 << 12)
|
||||
#define TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT 0
|
||||
#define TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US 0x7fff
|
||||
#define TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US 0x7ff
|
||||
#define TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_MASK (TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US << TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT)
|
||||
|
||||
/* Fields in TEGRA20_I2S_FIFO_SCR */
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
|
||||
#define TEGRA30_I2S_TIMING_NON_SYM_ENABLE (1 << 12)
|
||||
#define TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT 0
|
||||
#define TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US 0x7fff
|
||||
#define TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US 0x7ff
|
||||
#define TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_MASK (TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US << TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT)
|
||||
|
||||
/* Fields in TEGRA30_I2S_OFFSET */
|
||||
|
|
Loading…
Reference in a new issue