emi26.c (cb5629b10d64a8006622ce3a52bc887d91057d69) emi26.c (33b9e16243fd69493be3ddda7be73226c8be586a)
1/*
2 * Emagic EMI 2|6 usb audio interface firmware loader.
3 * Copyright (C) 2002
4 * Tapio Laxström (tapio.laxstrom@iptime.fi)
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License, as published by
8 * the Free Software Foundation, version 2.

--- 231 unchanged lines hidden (view full) ---

240 release_firmware(loader_fw);
241 release_firmware(bitstream_fw);
242 release_firmware(firmware_fw);
243
244 kfree(buf);
245 return err;
246}
247
1/*
2 * Emagic EMI 2|6 usb audio interface firmware loader.
3 * Copyright (C) 2002
4 * Tapio Laxström (tapio.laxstrom@iptime.fi)
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License, as published by
8 * the Free Software Foundation, version 2.

--- 231 unchanged lines hidden (view full) ---

240 release_firmware(loader_fw);
241 release_firmware(bitstream_fw);
242 release_firmware(firmware_fw);
243
244 kfree(buf);
245 return err;
246}
247
248static struct usb_device_id id_table [] = {
248static const struct usb_device_id id_table[] = {
249 { USB_DEVICE(EMI26_VENDOR_ID, EMI26_PRODUCT_ID) },
250 { USB_DEVICE(EMI26_VENDOR_ID, EMI26B_PRODUCT_ID) },
251 { } /* Terminating entry */
252};
253
254MODULE_DEVICE_TABLE (usb, id_table);
255
256static int emi26_probe(struct usb_interface *intf, const struct usb_device_id *id)

--- 44 unchanged lines hidden ---
249 { USB_DEVICE(EMI26_VENDOR_ID, EMI26_PRODUCT_ID) },
250 { USB_DEVICE(EMI26_VENDOR_ID, EMI26B_PRODUCT_ID) },
251 { } /* Terminating entry */
252};
253
254MODULE_DEVICE_TABLE (usb, id_table);
255
256static int emi26_probe(struct usb_interface *intf, const struct usb_device_id *id)

--- 44 unchanged lines hidden ---