summaryrefslogtreecommitdiff
path: root/include/sysinfo
diff options
context:
space:
mode:
authorPranav Tilak <[email protected]>2026-07-09 14:42:53 +0530
committerTom Rini <[email protected]>2026-07-22 13:10:17 -0600
commitb2062131b430e2ff3ef69dea9d8fc19e2e268c03 (patch)
tree95c063859a2d1dec7bb497f6257a01895ad5751e /include/sysinfo
parentf077a6b07be1939eb5865fb6afe60ed3c545edb0 (diff)
cmd: i3c: fix list and current needing pre-selected controller
The !currdev guard in do_i3c() was placed before the list and current handlers, causing both to fail when no controller is pre-selected. Move the guard to only protect device_list, write and read which actually need a controller. Fixes: b875409da737 ("cmd: Add i3c command support.") Signed-off-by: Pranav Tilak <[email protected]> Reviewed-by: Dinesh Maniyam <[email protected]>
Diffstat (limited to 'include/sysinfo')
0 files changed, 0 insertions, 0 deletions