summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJameson Thies <jthies@google.com>2024-05-10 23:12:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-04 16:44:27 +0300
commitc313a44ac9cda60431bdc7dcdb4b135eaef31785 (patch)
treeabc53fc909d0dc52b022dcbe4ba226348c80a59e /include/linux
parent4ea9d86d0a6fab9f8fabf9a62894da4d2e590f05 (diff)
downloadlinux-c313a44ac9cda60431bdc7dcdb4b135eaef31785.tar.xz
usb: typec: ucsi: Always set number of alternate modes
Providing the number of known alternate modes allows user space to determine when device registration has completed. Always register a number of known alternate modes for the partner and cable plug, even when the number of supported alternate modes is 0. Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Benson Leung <bleung@chromium.org> Signed-off-by: Jameson Thies <jthies@google.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240510201244.2968152-5-jthies@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions