commit | 74735e14e44a8c280fa0c3ab3300a4567c3d81e2 | [log] [tgz] |
---|---|---|
author | Ren Chen <Ren.Chen@ite.com.tw> | Mon Mar 03 09:24:03 2025 +0800 |
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | Fri Mar 07 20:41:22 2025 +0000 |
tree | db267c14cc1bef96cdb387c44cee94d2a500c4af | |
parent | 9511aac20b7ff348172d8338bb02f57af60be223 [diff] |
drivers: i3c: shell: fix the judgement/argc count for getstatus/ibi tir The errno for format 2 of the getstatus ccc always returns an error. The check for the invalid defining byte should use the "AND" operation instead of "OR." Additionally, the first byte of the ibi tir sending request is ignored due to the incorrect argument count. This commit fixes both issues. Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw> (cherry picked from commit 20dbf4d7a018bb34bd2551b4235057df57ae7262)