[SRU][OEM-OSP1-B][PATCH 1/1] ASoC: SOF: Intel: HDA: correct ROM state mask
Hui Wang
hui.wang at canonical.com
Tue Jul 23 04:35:22 UTC 2019
From: Keyon Jie <yang.jie at linux.intel.com>
BugLink: http://bugs.launchpad.net/bugs/1837500
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 at linux.intel.com>
(cherry picked from commit f745362cc60dd62b825a4afacf7457430dce3565
git://github.com/thesofproject/linux.git)
Signed-off-by: Hui Wang <hui.wang at canonical.com>
---
sound/soc/sof/intel/hda.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/sof/intel/hda.h b/sound/soc/sof/intel/hda.h
index 1475d8a51a7e..3ab90266244a 100644
--- a/sound/soc/sof/intel/hda.h
+++ b/sound/soc/sof/intel/hda.h
@@ -169,7 +169,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
--
2.17.1
More information about the kernel-team
mailing list