aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorTudor Ambarus <[email protected]>2025-03-24 12:35:41 +0000
committerKrzysztof Kozlowski <[email protected]>2025-04-07 06:02:19 +0000
commit2908ffa53f8ed487ab4285635c79d4911cced93c (patch)
tree4310bf3f6f0b357fc2c8af0d74a59a426974219e /rust/helpers/pci.c
parentLinux 6.15-rc1 (diff)
downloadkernel-2908ffa53f8ed487ab4285635c79d4911cced93c.tar.gz
kernel-2908ffa53f8ed487ab4285635c79d4911cced93c.zip
firmware: exynos-acpm: check saved RX before bailing out on empty RX queue
When we're polling for responses and get a response that corresponds to another request, we save the RX data in order to drain the RX queue. If the response for the current request is not found in the request's iteration of the queue, or if the queue is empty, we must check whether the RX data was saved by a previous request when it drained the RX queue. We failed to check for already saved responses when the queue was empty, and requests could time out. Check saved RX before bailing out on empty RX queue. Fixes: a88927b534ba ("firmware: add Exynos ACPM protocol driver") Reported-by: André Draszik <[email protected]> Signed-off-by: Tudor Ambarus <[email protected]> Reviewed-by: André Draszik <[email protected]> Tested-by: André Draszik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions