commit | 3788b2c0a625233fa9406a3f07a8a4687146ee63 | [log] [tgz] |
---|---|---|
author | Mathieu Choplain <mathieu.choplain-ext@st.com> | Thu Oct 02 15:48:51 2025 +0200 |
committer | Chris Friedt <chrisfriedt@gmail.com> | Fri Oct 10 12:56:58 2025 -0400 |
tree | 6b7ac1aa5f4edc11d2bfb5a6f12126a570f1c45a | |
parent | 9f4d477e9630169d23d964e6e7cac225379c9148 [diff] |
drivers: usb: udc: stm32: turn EP0 max packet size into a constant The EP0 max packet size was de facto a constant because its value was the same regardless of which USB IP was in use. However, it was stored as part of the instance configuration anyways which is wasteful and slower. Create new "UDC_STM32_EP0_MAX_PACKET_SIZE" driver-level constant with which all usage of the per-instance configuration field is replaced. Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>