summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorPadmarao Begari <[email protected]>2025-11-26 16:12:35 +0100
committerMichal Simek <[email protected]>2025-12-19 08:25:27 +0100
commit38e3f9658ef8c5054999f93d3c5f97cbb485c696 (patch)
treedfc2c09f4a9f2b5ecf06a1769c9b362a796efa45 /scripts/objdiff
parente9ce819f935aaeb84ca4046960459d8f790bf7a5 (diff)
i2c: cdns: Add timeout for RXDV status bit polling
Add a timeout mechanism when waiting for the RXDV (Receive Data Valid) status bit to be set before reading data from the FIFO. This prevents infinite polling loops that could occur if the hardware doesn't respond as expected. The timeout is set to 1000ms (CDNS_I2C_RXDV_TIMEOUT_MS) and uses the wait_for_bit_le32() function to poll the status register. If the timeout expires, an error code is returned. Signed-off-by: Padmarao Begari <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/ba53d57c179f3390b32bc6094f3ffb5f4cde931e.1764169953.git.michal.simek@amd.com
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions