diff options
author | Jiasheng Jiang <[email protected]> | 2021-12-15 11:15:50 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-12-15 14:02:52 +0000 |
commit | 2167c0b205960607fb136b4bb3c556a62be1569a (patch) | |
tree | 1a140bde1408979b20d327331dca8e2ddb36d657 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 28084f4a0e031a87b624ea121bd8fd782b90ff2a (diff) |
ASoC: rt5663: Handle device_property_read_u32_array error codes
The return value of device_property_read_u32_array() is not always 0.
To catch the exception in case that devm_kzalloc failed and the
rt5663->imp_table was NULL, which caused the failure of
device_property_read_u32_array.
Fixes: 450f0f6a8fb4 ("ASoC: rt5663: Add the manual offset field to compensate the DC offset")
Signed-off-by: Jiasheng Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions