File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -448,6 +448,7 @@ static void sof_timer_handler(struct k_timer *timer)
448
448
static void vrt_device_act (const struct device * dev ,
449
449
const enum uvb_device_act act )
450
450
{
451
+ struct uhc_vrt_data * priv = uhc_get_private (dev );
451
452
enum uhc_event_type type ;
452
453
453
454
switch (act ) {
@@ -456,9 +457,11 @@ static void vrt_device_act(const struct device *dev,
456
457
break ;
457
458
case UVB_DEVICE_ACT_FS :
458
459
type = UHC_EVT_DEV_CONNECTED_FS ;
460
+ k_timer_start (& priv -> sof_timer , K_MSEC (1 ), K_MSEC (1 ));
459
461
break ;
460
462
case UVB_DEVICE_ACT_HS :
461
463
type = UHC_EVT_DEV_CONNECTED_HS ;
464
+ k_timer_start (& priv -> sof_timer , K_MSEC (1 ), K_USEC (125 ));
462
465
break ;
463
466
case UVB_DEVICE_ACT_REMOVED :
464
467
type = UHC_EVT_DEV_REMOVED ;
You can’t perform that action at this time.
0 commit comments