8 Jul
2010
8 Jul
'10
8:25 a.m.
Felix Homann wrote:
Building Alsa fails after applying your patch:
patching file quirks.c Hunk #2 FAILED at 159.
My patch was against the kernel source; the alsa-driver package needs this additional patch:
--- alsa-driver/usb/quirks.patch +++ alsa-driver/usb/quirks.patch @@ -15,9 +15,9 @@ +#else + fp->maxpacksize = get_endpoint(alts, 0)->wMaxPacketSize; +#endif + print_hex_dump_bytes("format ", DUMP_PREFIX_OFFSET, fp, sizeof(*fp)); usb_set_interface(chip->dev, fp->iface, 0); snd_usb_init_pitch(chip, fp->iface, alts, fp); - snd_usb_init_sample_rate(chip, fp->iface, alts, fp, fp->rate_max); @@ -228,7 +234,11 @@ fp->endpoint = get_endpoint(alts, 0)->bEndpointAddress; fp->ep_attr = get_endpoint(alts, 0)->bmAttributes;