diff options
author | Keyon Jie <yang.jie@linux.intel.com> | 2019-07-22 09:13:51 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-07-23 12:20:38 +0100 |
commit | 184fdfca4ba63d57a668564639a4dcf188fc9822 (patch) | |
tree | d87e2dc13126e193d9febb8bf8a287e8907ddf48 /sound/soc/sof | |
parent | 1c38c9223da3af619d35f052ad6f4bbaa0f08ac2 (diff) | |
download | linux-stable-184fdfca4ba63d57a668564639a4dcf188fc9822.tar.gz linux-stable-184fdfca4ba63d57a668564639a4dcf188fc9822.tar.bz2 linux-stable-184fdfca4ba63d57a668564639a4dcf188fc9822.zip |
ASoC: SOF: Intel: hda: correct ROM state mask
The ROM state is represented by the 24 LSB bits in the ROM status
register, so the mask should be 0xffffff instead of 0xf.
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190722141402.7194-11-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof')
-rw-r--r-- | sound/soc/sof/intel/hda.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/intel/hda.h b/sound/soc/sof/intel/hda.h index 84d5fd021ccb..70909debfeb5 100644 --- a/sound/soc/sof/intel/hda.h +++ b/sound/soc/sof/intel/hda.h @@ -175,7 +175,7 @@ #define HDA_DSP_STACK_DUMP_SIZE 32 /* ROM status/error values */ -#define HDA_DSP_ROM_STS_MASK 0xf +#define HDA_DSP_ROM_STS_MASK GENMASK(23, 0) #define HDA_DSP_ROM_INIT 0x1 #define HDA_DSP_ROM_FW_MANIFEST_LOADED 0x3 #define HDA_DSP_ROM_FW_FW_LOADED 0x4 |