diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2024-08-22 14:35:44 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-22 17:52:26 +0100 |
commit | bb4485562f5907708f1c218b5d70dce04165d1e1 (patch) | |
tree | 92e666140e613f9ffdc23caa6b224191291bc3b9 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | bff980d8d9ca537fd5f3c0e9a99876c1e3713e81 (diff) |
ASoC: cs-amp-lib: Ignore empty UEFI calibration entries
If the timestamp of a calibration entry is 0 it is an unused entry and
must be ignored.
Some end-products reserve EFI space for calibration entries by shipping
with a zero-filled EFI file. When searching the file for calibration
data the driver must skip the empty entries. The timestamp of a valid
entry is always non-zero.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: 1cad8725f2b9 ("ASoC: cs-amp-lib: Add helpers for factory calibration data")
Link: https://patch.msgid.link/20240822133544.304421-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions