]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: typec: ucsi_glink: Increase buffer size to support UCSI v2
authorAnjelique Melendez <anjelique.melendez@oss.qualcomm.com>
Wed, 22 Oct 2025 00:45:54 +0000 (17:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Oct 2025 12:48:34 +0000 (14:48 +0200)
commit4dad394ce3b60a903452f45c4bd90cb220362ba9
tree84de8d7d7582fc146cad3b33e081472a7a83d415
parentdacd0ca666461e3b79059b7830403ae436157bf1
usb: typec: ucsi_glink: Increase buffer size to support UCSI v2

UCSI v2 specification has increased the MSG_IN and MSG_OUT size from
16 bytes to 256 bytes each for the message exchange between OPM and PPM
This makes the total buffer size increase from 48 bytes to 528 bytes.
Update the buffer size to support this increase.

Signed-off-by: Anjelique Melendez <anjelique.melendez@oss.qualcomm.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20251022004554.1956729-3-anjelique.melendez@oss.qualcomm.com
drivers/usb/typec/ucsi/ucsi_glink.c