diff options
author | Fred Oh <fred.oh@linux.intel.com> | 2023-04-12 09:14:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-04-12 12:51:59 +0100 |
commit | ef0128afa1655f8d024dc5058fbfa0c6deecf117 (patch) | |
tree | aa88350dff70b661a04261ab9f0fbad6deb2d1c2 /sound/soc/codecs/tas5720.c | |
parent | a8f5da0bf4d85a6ad03810d902aba61c572102a6 (diff) | |
download | lwn-ef0128afa1655f8d024dc5058fbfa0c6deecf117.tar.gz lwn-ef0128afa1655f8d024dc5058fbfa0c6deecf117.zip |
ASoC: SOF: Intel: mtl: fix page fault in dspless mode when DSP is disabled
The patch to make DSPless mode work even if the DSP is
disabled in BIOS missed to touch the MTL code to add
the needed checks.
If the DSP is disabled this can lead to page fault due to not
accesible registers.
Fixes: 9fc6786f549c ("ASoC: SOF: Intel: hda: make DSPless mode work with DSP disabled in BIOS")
Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230412061457.27937-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas5720.c')
0 files changed, 0 insertions, 0 deletions