diff options
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/endpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c index 8b695d5562e6..12e5a951a143 100644 --- a/sound/usb/endpoint.c +++ b/sound/usb/endpoint.c | |||
@@ -771,7 +771,7 @@ int snd_usb_endpoint_set_params(struct snd_usb_endpoint *ep, | |||
771 | 771 | ||
772 | ep->datainterval = fmt->datainterval; | 772 | ep->datainterval = fmt->datainterval; |
773 | ep->maxpacksize = fmt->maxpacksize; | 773 | ep->maxpacksize = fmt->maxpacksize; |
774 | ep->fill_max = fmt->attributes & UAC_EP_CS_ATTR_FILL_MAX; | 774 | ep->fill_max = !!(fmt->attributes & UAC_EP_CS_ATTR_FILL_MAX); |
775 | 775 | ||
776 | if (snd_usb_get_speed(ep->chip->dev) == USB_SPEED_FULL) | 776 | if (snd_usb_get_speed(ep->chip->dev) == USB_SPEED_FULL) |
777 | ep->freqn = get_usb_full_speed_rate(params_rate(hw_params)); | 777 | ep->freqn = get_usb_full_speed_rate(params_rate(hw_params)); |