mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
0280d1a099
Here is the first batch of updates for sound system on 4.4-rc1. Again at this time, the update looks fairly calm; no big changes in either ALSA core or ASoC infrastructures, rather all small cleanups, in addition to the new stuff as usual. The biggest changes are about Firewire sound devices. It gained lots of new device support, and MIDI functionality. Also there are updates for a few still working-in-progress stuff (topology API and ASoC skylake), too. But overall, this update should give no big surprise. Some highlight is below: Core: - A few more Kconfig items for tinification; it's marked as EXPERT, so normal user should't be bothered :) - Refactoring with a new PCM hw_constraint helper - Removal of unused transfer_ack_{begin,end} PCM callbacks Firewire: - Restructuring of code subtree, lots of refactoring - Support AMDTP variants - New driver for Digidesign 002/003 family - Adds support for TASCAM FireOne to ALSA OXFW driver - Add MIDI support to TASCAM and Digi00x devices HD-Audio: - Automated modalias generation for codec drivers, finally - Improvement on heuristics for setting mixer name - A few fixes for longstanding bugs on Creative CA0132 cards - Addition of audio rate callback with i915 communication - Fix suspend issue on recent Dell XPS - Intel Lewisburg controller support ASoC: - Updates to the topology userspace interface - Big updates to the Renesas support (rcar) - More updates for supporting Intel Sky Lake systems - New drivers for Asahi Kasei Microdevices AK4613, Allwinnner A10, Cirrus Logic WM8998, Dialog DA7219, Nuvoton NAU8825, Rockchip S/PDIF, and Atmel class D amplifier USB-Audio: - A fix for newer Roland MIDI devices - Quirks and workarounds for Zoom R16/24 device Misc: - A few fixes for some old Cirrus CS46xx PCI sound boards - Yet another fixes for some old ESS Maestro3 PCI sound boards -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJWPNI9AAoJEGwxgFQ9KSmkOGIP+wUX4eIWwV4BK3mTjdPgvB+i M7niITY+baN6WqoX8Impe6CyvdOed/pQyHqkT8NFthhmYrgVU9iJBykgF1+BOPt3 ZtYb0qi2mOPbTL0mwFv6oDu8Nvh6hBdCz6ZepQQdjyG4QBdLs7Cea3o3ncJEgsqI H9LHcCjwSIi4wAcIFVCiD2rJnI/sqhyH2jm9ay8TWDPkBnUBC0Pz1aE+DIbb5x5G m53rVTjE2dU5MQJrG+rQyH5ngR51Qs6XLYLSnkMXBrZPSP5UQxM282pG19ILumFK b5uOKWC2DyeWkmDTglAQXaSSbI+3Sj+W+oo05z51Pz2b8YEvehl2XjJpeB0Nlez/ q+i/c8LnUYV8MPlJdldC1jZO8MVRYEX5fEWm1Hwie+q1YozFkhxIfwKCdXnazpYE ga9E5t/Utg0Rclb2vlYuHv3A4RmY1CW7VazP6PwZjhrahPMxN6zU8aTe+OzBJxkT i8Ka+R7mMCVyAfauNuBcQtJ+cY+6JbOXsT/5BWTGW0qsa9V17uUOXriAYyNBLwFL zcBa8OXHtYoiPbWIgE5rJUmRqTXJaOlNYyuot+AT2K7bOW9KMXmEROaSXyVNoqR8 AVZHVmByViI8TuQ98L7vakvyHSKoi4x1Aq/ODrS4Ya4+5T60PmVTyCxT7UUE0FNo V39cwMFp8TCMifTeRP/+ =l9SO -----END PGP SIGNATURE----- Merge tag 'sound-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound Pull sound updates from Takashi Iwai: "Here is the first batch of updates for sound system on 4.4-rc1. Again at this time, the update looks fairly calm; no big changes in either ALSA core or ASoC infrastructures, rather all small cleanups, in addition to the new stuff as usual. The biggest changes are about Firewire sound devices. It gained lots of new device support, and MIDI functionality. Also there are updates for a few still working-in-progress stuff (topology API and ASoC skylake), too. But overall, this update should give no big surprise. Some highlights are below: Core: - A few more Kconfig items for tinification; it's marked as EXPERT, so normal user should't be bothered :) - Refactoring with a new PCM hw_constraint helper - Removal of unused transfer_ack_{begin,end} PCM callbacks Firewire: - Restructuring of code subtree, lots of refactoring - Support AMDTP variants - New driver for Digidesign 002/003 family - Adds support for TASCAM FireOne to ALSA OXFW driver - Add MIDI support to TASCAM and Digi00x devices HD-Audio: - Automated modalias generation for codec drivers, finally - Improvement on heuristics for setting mixer name - A few fixes for longstanding bugs on Creative CA0132 cards - Addition of audio rate callback with i915 communication - Fix suspend issue on recent Dell XPS - Intel Lewisburg controller support ASoC: - Updates to the topology userspace interface - Big updates to the Renesas support (rcar) - More updates for supporting Intel Sky Lake systems - New drivers for Asahi Kasei Microdevices AK4613, Allwinnner A10, Cirrus Logic WM8998, Dialog DA7219, Nuvoton NAU8825, Rockchip S/PDIF, and Atmel class D amplifier USB-Audio: - A fix for newer Roland MIDI devices - Quirks and workarounds for Zoom R16/24 device Misc: - A few fixes for some old Cirrus CS46xx PCI sound boards - Yet another fixes for some old ESS Maestro3 PCI sound boards" * tag 'sound-4.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (330 commits) ALSA: hda - Add Intel Lewisburg device IDs Audio ALSA: hda - Apply pin fixup for HP ProBook 6550b ALSA: hda - Fix lost 4k BDL boundary workaround ALSA: maestro3: Fix Allegro mute until master volume/mute is touched ALSA: maestro3: Enable docking support for Dell Latitude C810 ALSA: firewire-digi00x: add another rawmidi character device for MIDI control ports ALSA: firewire-digi00x: add MIDI operations for MIDI control port ALSA: firewire-digi00x: rename identifiers of MIDI operation for physical ports ALSA: cs46xx: Fix suspend for all channels ALSA: cs46xx: Fix Duplicate front for CS4294 and CS4298 codecs ALSA: DocBook: Add soc-ops.c and soc-compress.c ALSA: hda - Add / fix kernel doc comments ALSA: Constify ratden/ratnum constraints ALSA: hda - Disable 64bit address for Creative HDA controllers ALSA: hda/realtek - Dell XPS one ALC3260 speaker no sound after resume back ALSA: hda/ca0132 - Convert leftover pr_info() and pr_err() ASoC: fsl: Use #ifdef instead of #if for CONFIG_PM_SLEEP ASoC: rt5645: Sort the order for register bit defines ASoC: dwc: add check for master/slave format ASoC: rt5645: Add the HWEQ for the speaker output ...
206 lines
5.7 KiB
C
206 lines
5.7 KiB
C
#include <linux/kbuild.h>
|
|
#include <linux/mod_devicetable.h>
|
|
|
|
#define DEVID(devid) DEFINE(SIZE_##devid, sizeof(struct devid))
|
|
#define DEVID_FIELD(devid, field) \
|
|
DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
|
|
|
|
int main(void)
|
|
{
|
|
DEVID(usb_device_id);
|
|
DEVID_FIELD(usb_device_id, match_flags);
|
|
DEVID_FIELD(usb_device_id, idVendor);
|
|
DEVID_FIELD(usb_device_id, idProduct);
|
|
DEVID_FIELD(usb_device_id, bcdDevice_lo);
|
|
DEVID_FIELD(usb_device_id, bcdDevice_hi);
|
|
DEVID_FIELD(usb_device_id, bDeviceClass);
|
|
DEVID_FIELD(usb_device_id, bDeviceSubClass);
|
|
DEVID_FIELD(usb_device_id, bDeviceProtocol);
|
|
DEVID_FIELD(usb_device_id, bInterfaceClass);
|
|
DEVID_FIELD(usb_device_id, bInterfaceSubClass);
|
|
DEVID_FIELD(usb_device_id, bInterfaceProtocol);
|
|
DEVID_FIELD(usb_device_id, bInterfaceNumber);
|
|
|
|
DEVID(hid_device_id);
|
|
DEVID_FIELD(hid_device_id, bus);
|
|
DEVID_FIELD(hid_device_id, group);
|
|
DEVID_FIELD(hid_device_id, vendor);
|
|
DEVID_FIELD(hid_device_id, product);
|
|
|
|
DEVID(ieee1394_device_id);
|
|
DEVID_FIELD(ieee1394_device_id, match_flags);
|
|
DEVID_FIELD(ieee1394_device_id, vendor_id);
|
|
DEVID_FIELD(ieee1394_device_id, model_id);
|
|
DEVID_FIELD(ieee1394_device_id, specifier_id);
|
|
DEVID_FIELD(ieee1394_device_id, version);
|
|
|
|
DEVID(pci_device_id);
|
|
DEVID_FIELD(pci_device_id, vendor);
|
|
DEVID_FIELD(pci_device_id, device);
|
|
DEVID_FIELD(pci_device_id, subvendor);
|
|
DEVID_FIELD(pci_device_id, subdevice);
|
|
DEVID_FIELD(pci_device_id, class);
|
|
DEVID_FIELD(pci_device_id, class_mask);
|
|
|
|
DEVID(ccw_device_id);
|
|
DEVID_FIELD(ccw_device_id, match_flags);
|
|
DEVID_FIELD(ccw_device_id, cu_type);
|
|
DEVID_FIELD(ccw_device_id, cu_model);
|
|
DEVID_FIELD(ccw_device_id, dev_type);
|
|
DEVID_FIELD(ccw_device_id, dev_model);
|
|
|
|
DEVID(ap_device_id);
|
|
DEVID_FIELD(ap_device_id, dev_type);
|
|
|
|
DEVID(css_device_id);
|
|
DEVID_FIELD(css_device_id, type);
|
|
|
|
DEVID(serio_device_id);
|
|
DEVID_FIELD(serio_device_id, type);
|
|
DEVID_FIELD(serio_device_id, proto);
|
|
DEVID_FIELD(serio_device_id, id);
|
|
DEVID_FIELD(serio_device_id, extra);
|
|
|
|
DEVID(acpi_device_id);
|
|
DEVID_FIELD(acpi_device_id, id);
|
|
DEVID_FIELD(acpi_device_id, cls);
|
|
DEVID_FIELD(acpi_device_id, cls_msk);
|
|
|
|
DEVID(pnp_device_id);
|
|
DEVID_FIELD(pnp_device_id, id);
|
|
|
|
DEVID(pnp_card_device_id);
|
|
DEVID_FIELD(pnp_card_device_id, devs);
|
|
|
|
DEVID(pcmcia_device_id);
|
|
DEVID_FIELD(pcmcia_device_id, match_flags);
|
|
DEVID_FIELD(pcmcia_device_id, manf_id);
|
|
DEVID_FIELD(pcmcia_device_id, card_id);
|
|
DEVID_FIELD(pcmcia_device_id, func_id);
|
|
DEVID_FIELD(pcmcia_device_id, function);
|
|
DEVID_FIELD(pcmcia_device_id, device_no);
|
|
DEVID_FIELD(pcmcia_device_id, prod_id_hash);
|
|
|
|
DEVID(of_device_id);
|
|
DEVID_FIELD(of_device_id, name);
|
|
DEVID_FIELD(of_device_id, type);
|
|
DEVID_FIELD(of_device_id, compatible);
|
|
|
|
DEVID(vio_device_id);
|
|
DEVID_FIELD(vio_device_id, type);
|
|
DEVID_FIELD(vio_device_id, compat);
|
|
|
|
DEVID(input_device_id);
|
|
DEVID_FIELD(input_device_id, flags);
|
|
DEVID_FIELD(input_device_id, bustype);
|
|
DEVID_FIELD(input_device_id, vendor);
|
|
DEVID_FIELD(input_device_id, product);
|
|
DEVID_FIELD(input_device_id, version);
|
|
DEVID_FIELD(input_device_id, evbit);
|
|
DEVID_FIELD(input_device_id, keybit);
|
|
DEVID_FIELD(input_device_id, relbit);
|
|
DEVID_FIELD(input_device_id, absbit);
|
|
DEVID_FIELD(input_device_id, mscbit);
|
|
DEVID_FIELD(input_device_id, ledbit);
|
|
DEVID_FIELD(input_device_id, sndbit);
|
|
DEVID_FIELD(input_device_id, ffbit);
|
|
DEVID_FIELD(input_device_id, swbit);
|
|
|
|
DEVID(eisa_device_id);
|
|
DEVID_FIELD(eisa_device_id, sig);
|
|
|
|
DEVID(parisc_device_id);
|
|
DEVID_FIELD(parisc_device_id, hw_type);
|
|
DEVID_FIELD(parisc_device_id, hversion);
|
|
DEVID_FIELD(parisc_device_id, hversion_rev);
|
|
DEVID_FIELD(parisc_device_id, sversion);
|
|
|
|
DEVID(sdio_device_id);
|
|
DEVID_FIELD(sdio_device_id, class);
|
|
DEVID_FIELD(sdio_device_id, vendor);
|
|
DEVID_FIELD(sdio_device_id, device);
|
|
|
|
DEVID(ssb_device_id);
|
|
DEVID_FIELD(ssb_device_id, vendor);
|
|
DEVID_FIELD(ssb_device_id, coreid);
|
|
DEVID_FIELD(ssb_device_id, revision);
|
|
|
|
DEVID(bcma_device_id);
|
|
DEVID_FIELD(bcma_device_id, manuf);
|
|
DEVID_FIELD(bcma_device_id, id);
|
|
DEVID_FIELD(bcma_device_id, rev);
|
|
DEVID_FIELD(bcma_device_id, class);
|
|
|
|
DEVID(virtio_device_id);
|
|
DEVID_FIELD(virtio_device_id, device);
|
|
DEVID_FIELD(virtio_device_id, vendor);
|
|
|
|
DEVID(hv_vmbus_device_id);
|
|
DEVID_FIELD(hv_vmbus_device_id, guid);
|
|
|
|
DEVID(i2c_device_id);
|
|
DEVID_FIELD(i2c_device_id, name);
|
|
|
|
DEVID(spi_device_id);
|
|
DEVID_FIELD(spi_device_id, name);
|
|
|
|
DEVID(dmi_system_id);
|
|
DEVID_FIELD(dmi_system_id, matches);
|
|
|
|
DEVID(platform_device_id);
|
|
DEVID_FIELD(platform_device_id, name);
|
|
|
|
DEVID(mdio_device_id);
|
|
DEVID_FIELD(mdio_device_id, phy_id);
|
|
DEVID_FIELD(mdio_device_id, phy_id_mask);
|
|
|
|
DEVID(zorro_device_id);
|
|
DEVID_FIELD(zorro_device_id, id);
|
|
|
|
DEVID(isapnp_device_id);
|
|
DEVID_FIELD(isapnp_device_id, vendor);
|
|
DEVID_FIELD(isapnp_device_id, function);
|
|
|
|
DEVID(ipack_device_id);
|
|
DEVID_FIELD(ipack_device_id, format);
|
|
DEVID_FIELD(ipack_device_id, vendor);
|
|
DEVID_FIELD(ipack_device_id, device);
|
|
|
|
DEVID(amba_id);
|
|
DEVID_FIELD(amba_id, id);
|
|
DEVID_FIELD(amba_id, mask);
|
|
|
|
DEVID(mips_cdmm_device_id);
|
|
DEVID_FIELD(mips_cdmm_device_id, type);
|
|
|
|
DEVID(x86_cpu_id);
|
|
DEVID_FIELD(x86_cpu_id, feature);
|
|
DEVID_FIELD(x86_cpu_id, family);
|
|
DEVID_FIELD(x86_cpu_id, model);
|
|
DEVID_FIELD(x86_cpu_id, vendor);
|
|
|
|
DEVID(cpu_feature);
|
|
DEVID_FIELD(cpu_feature, feature);
|
|
|
|
DEVID(mei_cl_device_id);
|
|
DEVID_FIELD(mei_cl_device_id, name);
|
|
DEVID_FIELD(mei_cl_device_id, uuid);
|
|
DEVID_FIELD(mei_cl_device_id, version);
|
|
|
|
DEVID(rio_device_id);
|
|
DEVID_FIELD(rio_device_id, did);
|
|
DEVID_FIELD(rio_device_id, vid);
|
|
DEVID_FIELD(rio_device_id, asm_did);
|
|
DEVID_FIELD(rio_device_id, asm_vid);
|
|
|
|
DEVID(ulpi_device_id);
|
|
DEVID_FIELD(ulpi_device_id, vendor);
|
|
DEVID_FIELD(ulpi_device_id, product);
|
|
|
|
DEVID(hda_device_id);
|
|
DEVID_FIELD(hda_device_id, vendor_id);
|
|
DEVID_FIELD(hda_device_id, rev_id);
|
|
DEVID_FIELD(hda_device_id, api_version);
|
|
|
|
return 0;
|
|
}
|