diff options
| author | Bard Liao <[email protected]> | 2024-11-13 06:41:33 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-11-13 13:53:09 +0000 |
| commit | de35b06bf15cb56c96c7a69474e305852cc170e3 (patch) | |
| tree | cd20a3c75f0ddb476f160ff5fc36b2141db08a73 /drivers/fpga/altera-fpga2sdram.c | |
| parent | ASoC: SOF: ipc4-topology: remove redundant assignment to variable ret (diff) | |
| download | kernel-de35b06bf15cb56c96c7a69474e305852cc170e3.tar.gz kernel-de35b06bf15cb56c96c7a69474e305852cc170e3.zip | |
ASoC: sdca: test adev before calling acpi_dev_for_each_child
sdca_lookup_functions may be called by a Peripheral that is not listed
in the ACPI table. Testing adev is required to avoid kernel NULL pointer
dereference.
Fixes: 3a513da1ae33 ("ASoC: SDCA: add initial module")
Signed-off-by: Bard Liao <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Reviewed-by: Liam Girdwood <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
