Commit 7ac2261e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix up ALSA merge due to struct usb_interface changes.

parent 65a40f8a
...@@ -1182,7 +1182,7 @@ static int snd_usb_hw_params(snd_pcm_substream_t *substream, ...@@ -1182,7 +1182,7 @@ static int snd_usb_hw_params(snd_pcm_substream_t *substream,
struct usb_host_config *config = subs->dev->actconfig; struct usb_host_config *config = subs->dev->actconfig;
struct usb_host_interface *alts; struct usb_host_interface *alts;
struct usb_interface *iface; struct usb_interface *iface;
iface = &config->interface[fmt->iface]; iface = config->interface[fmt->iface];
alts = &iface->altsetting[fmt->altset_idx]; alts = &iface->altsetting[fmt->altset_idx];
ret = init_usb_sample_rate(subs->dev, subs->interface, alts, fmt, rate); ret = init_usb_sample_rate(subs->dev, subs->interface, alts, fmt, rate);
if (ret < 0) if (ret < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment