projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9abf231
)
ASoC: Intel: avs: Fix DMA mask assignment
author
Cezary Rojewski
<cezary.rojewski@intel.com>
Mon, 10 Oct 2022 12:19:41 +0000
(14:19 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 17 Oct 2022 11:50:04 +0000
(12:50 +0100)
Spelling error leads to incorrect behavior when setting up DMA mask.
Fixes: a5bbbde2b81e ("ASoC: Intel: avs: Use helper function to set up DMA")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link:
https://lore.kernel.org/r/20221010121955.718168-2-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/core.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/avs/core.c
b/sound/soc/intel/avs/core.c
index bb0719c58ca49673fe6e9a029549a86130233998..4f93639ce488776468024d24bbe41105cd74038b 100644
(file)
--- a/
sound/soc/intel/avs/core.c
+++ b/
sound/soc/intel/avs/core.c
@@
-440,7
+440,7
@@
static int avs_pci_probe(struct pci_dev *pci, const struct pci_device_id *id)
if (bus->mlcap)
snd_hdac_ext_bus_get_ml_capabilities(bus);
- if (
!
dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)))
+ if (dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)))
dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32));
dma_set_max_seg_size(dev, UINT_MAX);