diff options
| author | Adrian Hunter <adrian.hunter@intel.com> | 2026-08-07 17:56:35 +0300 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2026-08-08 15:04:20 +0200 |
| commit | 087efc8e88e2955ac2e8895402bd0e7fc1cfc314 (patch) | |
| tree | 863c28acb1a68bd12e1ee662292a2659e0c017c5 /scripts/patch-kernel | |
| parent | 60ff731f06909f9b54af27d70f00a41bd84c6246 (diff) | |
| download | linux-087efc8e88e2955ac2e8895402bd0e7fc1cfc314.tar.gz linux-087efc8e88e2955ac2e8895402bd0e7fc1cfc314.zip | |
i3c: master: Reject IBI requests from non-IBI-capable devices
i3c_device_request_ibi() does not verify that a device advertises IBI
support before attempting to set up IBI handling.
Add a check for I3C_BCR_IBI_REQ_CAP and fail with -EOPNOTSUPP when IBI
support is not reported by the device. This keeps IBI setup consistent
with other IBI-related functionality, such as exposing wakeup capability
only for IBI-capable devices.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260807145638.168865-12-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
