diff options
author | Shyam Sundar S K <[email protected]> | 2024-08-29 14:47:09 +0530 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2024-09-05 18:34:08 +0200 |
commit | 039b23609ff243497ea350200635985364da25ee (patch) | |
tree | ff9cabd80488db7d5510e31b7cd8ee3f04bfe507 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 8d2e56ef83ce944cc945d39f5ea7c875bba5c2ad (diff) |
i3c: mipi-i3c-hci: Read HC_CONTROL_PIO_MODE only after i3c hci v1.1
The HC_CONTROL_PIO_MODE bit was introduced in the HC_CONTROL register
starting from version 1.1. Therefore, checking the HC_CONTROL_PIO_MODE bit
on hardware that adheres to older specification revisions (i.e., versions
earlier than 1.1) is incorrect. To address this, add an additional check
to read the HCI version before attempting to read the HC_CONTROL_PIO_MODE
status.
Signed-off-by: Shyam Sundar S K <[email protected]>
Reviewed-by: Jarkko Nikula <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions