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:
Ryan McClelland 2024-07-19 12:09:03 -07:00 committed by Anas Nashif
parent 91b688a666
commit ff7c20e894

View file

@ -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;