Fix GETMRL's logic
i3c master: GETMRL's 3rd byte is optional even with BCR_IBI_PAYLOAD

According to the I3C spec v1.1 document, GETMRL's payload is 2 bytes,
with an optional 3rd byte if the IBI private payload is larger than
1 byte. The whole GETMRL may also be optional so max_ibi_len already
defaults to 1 if BCR_IBI_PAYLOAD prior to the i3c_master_getmrl_locked()

Signed-off-by: Nicolas Pitre <>
Signed-off-by: Boris Brezillon <>
1 file changed