aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <[email protected]>2025-07-25 19:02:54 +0000
committerMark Brown <[email protected]>2025-07-28 17:58:15 +0000
commiteb3bb145280b6c857a748731a229698e4a7cf37b (patch)
treea274a6b608214061e8dd75e0b80ba32590ae2b21 /drivers/fpga/microchip-spi.c
parentASoC: codecs: Add acpi_match_table for aw88399 driver (diff)
downloadkernel-eb3bb145280b6c857a748731a229698e4a7cf37b.tar.gz
kernel-eb3bb145280b6c857a748731a229698e4a7cf37b.zip
ASoC: SOF: amd: acp-loader: Use GFP_KERNEL for DMA allocations in resume context
Replace GFP_ATOMIC with GFP_KERNEL for dma_alloc_coherent() calls. This change improves memory allocation reliability during firmware loading, particularly during system resume when memory pressure is high. Because of using GFP_KERNEL, reclaim can happen which can reduce the probability of failure. Fixes memory allocation failures observed during system resume with fragmented memory conditions. snd_sof_amd_vangogh 0000:04:00.5: error: failed to load DSP firmware after resume -12 Fixes: 145d7e5ae8f4e ("ASoC: SOF: amd: add option to use sram for data bin loading") Fixes: 7e51a9e38ab20 ("ASoC: SOF: amd: Add fw loader and renoir dsp ops to load firmware") Cc: [email protected] Signed-off-by: Muhammad Usama Anjum <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions