drivers: i3c: shell: remove bcr check for getcaps
All I3C v1.1+ devices are required to support GETCAPS. Remove BCR check as it was the requirement for v1.0. Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
This commit is contained in:
parent
91b688a666
commit
ff7c20e894
1 changed files with 0 additions and 6 deletions
|
|
@ -1389,12 +1389,6 @@ static int cmd_i3c_ccc_getcaps(const struct shell *shell_ctx, size_t argc, char
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
if (!(desc->bcr & I3C_BCR_ADV_CAPABILITIES)) {
|
||||
shell_error(shell_ctx, "I3C: Device %s does not support advanced capabilities",
|
||||
desc->dev->name);
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
/* If there is a defining byte, then it is assumed to be Format 2 */
|
||||
if (argc > 3) {
|
||||
fmt = GETCAPS_FORMAT_2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue