diff options
| author | Vijendar Mukunda <[email protected]> | 2024-06-17 07:28:34 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-06-19 17:32:04 +0000 |
| commit | 98d919dfee1cc402ca29d45da642852d7c9a2301 (patch) | |
| tree | 684fccbf893152f8b92b359e9f9ef546fbbbe5ac /net/unix/af_unix.c | |
| parent | ASoC: Intel: soc-acpi: mtl: fix speaker no sound on Dell SKU 0C64 (diff) | |
| download | kernel-98d919dfee1cc402ca29d45da642852d7c9a2301.tar.gz kernel-98d919dfee1cc402ca29d45da642852d7c9a2301.zip | |
ASoC: amd: acp: add a null check for chip_pdev structure
When acp platform device creation is skipped, chip->chip_pdev value will
remain NULL. Add NULL check for chip->chip_pdev structure in
snd_acp_resume() function to avoid null pointer dereference.
Fixes: 088a40980efb ("ASoC: amd: acp: add pm ops support for acp pci driver")
Signed-off-by: Vijendar Mukunda <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
