diff options
Diffstat (limited to 'sound/usb/pcm.c')
-rw-r--r-- | sound/usb/pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c index 456829882f40..ebd09acd186e 100644 --- a/sound/usb/pcm.c +++ b/sound/usb/pcm.c | |||
@@ -467,7 +467,7 @@ static int hw_check_valid_format(struct snd_usb_substream *subs, | |||
467 | return 0; | 467 | return 0; |
468 | } | 468 | } |
469 | /* check whether the period time is >= the data packet interval */ | 469 | /* check whether the period time is >= the data packet interval */ |
470 | if (snd_usb_get_speed(subs->dev) == USB_SPEED_HIGH) { | 470 | if (snd_usb_get_speed(subs->dev) != USB_SPEED_FULL) { |
471 | ptime = 125 * (1 << fp->datainterval); | 471 | ptime = 125 * (1 << fp->datainterval); |
472 | if (ptime > pt->max || (ptime == pt->max && pt->openmax)) { | 472 | if (ptime > pt->max || (ptime == pt->max && pt->openmax)) { |
473 | hwc_debug(" > check: ptime %u > max %u\n", ptime, pt->max); | 473 | hwc_debug(" > check: ptime %u > max %u\n", ptime, pt->max); |
@@ -735,7 +735,7 @@ static int setup_hw_info(struct snd_pcm_runtime *runtime, struct snd_usb_substre | |||
735 | } | 735 | } |
736 | 736 | ||
737 | param_period_time_if_needed = SNDRV_PCM_HW_PARAM_PERIOD_TIME; | 737 | param_period_time_if_needed = SNDRV_PCM_HW_PARAM_PERIOD_TIME; |
738 | if (snd_usb_get_speed(subs->dev) != USB_SPEED_HIGH) | 738 | if (snd_usb_get_speed(subs->dev) == USB_SPEED_FULL) |
739 | /* full speed devices have fixed data packet interval */ | 739 | /* full speed devices have fixed data packet interval */ |
740 | ptmin = 1000; | 740 | ptmin = 1000; |
741 | if (ptmin == 1000) | 741 | if (ptmin == 1000) |