diff options
| author | 2026-01-20 20:11:45 +0200 | |
|---|---|---|
| committer | 2026-01-23 17:16:24 +0100 | |
| commit | a30c923c42508c6467aa65612b578bcba6c277f2 (patch) | |
| tree | a9107d107c01e700f7fb0686b76644499171a31c /include/linux/clk/ssh:/git@git.zx2c4.com/git: | |
| parent | usb: typec: hd3ss3220: Enable VBUS based on role state (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 'include/linux/clk/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
