summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorŁukasz Bartosik <ukaszb@chromium.org>2026-01-20 20:11:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-23 17:16:24 +0100
commita30c923c42508c6467aa65612b578bcba6c277f2 (patch)
treea9107d107c01e700f7fb0686b76644499171a31c /rust/alloc/collections/git@git.tavy.me:linux.git
parent27fbc19e52b9a76b79a1de691b0b978e335c4c35 (diff)
xhci: dbc: prepare to expose strings through sysfs
Reorganize the code to prepare ground for setting serial number, product and manufacturer names through sysfs. This commit: 1. Introduces new buffers for storing serial number, product and manufacturer name in utf8. The buffers will be used by sysfs *_show and *_store functions. 2. Increases USB string descriptor data maximum length to the value from USB specification (126 bytes of data). 3. Adds new helper functions get_str_desc_len, prepare_len and xhci_dbc_populate_str_desc. Signed-off-by: Łukasz Bartosik <ukaszb@chromium.org> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://patch.msgid.link/20260120181148.128712-2-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions