Skip to content

Commit 4151f42

Browse files
jfischer-nocarlescufi
authored andcommitted
usb: cdc_acm: use same init level and priority as serial drivers
Use same init level and priority as serial drivers. Align priority to the changes in commit ad14505 ("drivers: serial: Refactor drivers to use shared init priority Kconfig") Signed-off-by: Johann Fischer <[email protected]>
1 parent b46cc51 commit 4151f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/usb/class/cdc_acm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ static const struct uart_driver_api cdc_acm_driver_api = {
11041104
\
11051105
DEVICE_DT_INST_DEFINE(idx, cdc_acm_init, NULL, \
11061106
&cdc_acm_dev_data_##idx, &cdc_acm_config_##idx, \
1107-
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
1107+
PRE_KERNEL_1, CONFIG_SERIAL_INIT_PRIORITY, \
11081108
&cdc_acm_driver_api);
11091109

11101110
DT_INST_FOREACH_STATUS_OKAY(CDC_ACM_DT_DEVICE_DEFINE);

0 commit comments

Comments
 (0)