diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-03-06 08:25:27 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-06 08:25:27 -0500 |
commit | a52afea68f94d2501b7fe1fa18cc6acf84e35a76 (patch) | |
tree | 977eb066b9de1bea4e7ce7ea9a5583d00279061f /sound/pci | |
parent | 8b28c93fe5a55873ce22b7126e84eb59290f8603 (diff) | |
parent | d7e3281b52fea8917fb4a7a5b09df5e6a9d2850c (diff) |
Merge tag 'asoc-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: Changes for v4.1
A selection of changes for v4.1 so far. The main things are:
- Move of jack registration to the card where it belongs.
- Support for DAPM routes specified by both the machine driver and DT.
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_controller.c | 5 | ||||
-rw-r--r-- | sound/pci/hda/hda_intel.c | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c index ebb7a644bd86..f63d2cb55a82 100644 --- a/sound/pci/hda/hda_controller.c +++ b/sound/pci/hda/hda_controller.c | |||
@@ -978,7 +978,6 @@ static int azx_alloc_cmd_io(struct azx *chip) | |||
978 | dev_err(chip->card->dev, "cannot allocate CORB/RIRB\n"); | 978 | dev_err(chip->card->dev, "cannot allocate CORB/RIRB\n"); |
979 | return err; | 979 | return err; |
980 | } | 980 | } |
981 | EXPORT_SYMBOL_GPL(azx_alloc_cmd_io); | ||
982 | 981 | ||
983 | static void azx_init_cmd_io(struct azx *chip) | 982 | static void azx_init_cmd_io(struct azx *chip) |
984 | { | 983 | { |
@@ -1043,7 +1042,6 @@ static void azx_init_cmd_io(struct azx *chip) | |||
1043 | azx_writeb(chip, RIRBCTL, AZX_RBCTL_DMA_EN | AZX_RBCTL_IRQ_EN); | 1042 | azx_writeb(chip, RIRBCTL, AZX_RBCTL_DMA_EN | AZX_RBCTL_IRQ_EN); |
1044 | spin_unlock_irq(&chip->reg_lock); | 1043 | spin_unlock_irq(&chip->reg_lock); |
1045 | } | 1044 | } |
1046 | EXPORT_SYMBOL_GPL(azx_init_cmd_io); | ||
1047 | 1045 | ||
1048 | static void azx_free_cmd_io(struct azx *chip) | 1046 | static void azx_free_cmd_io(struct azx *chip) |
1049 | { | 1047 | { |
@@ -1053,7 +1051,6 @@ static void azx_free_cmd_io(struct azx *chip) | |||
1053 | azx_writeb(chip, CORBCTL, 0); | 1051 | azx_writeb(chip, CORBCTL, 0); |
1054 | spin_unlock_irq(&chip->reg_lock); | 1052 | spin_unlock_irq(&chip->reg_lock); |
1055 | } | 1053 | } |
1056 | EXPORT_SYMBOL_GPL(azx_free_cmd_io); | ||
1057 | 1054 | ||
1058 | static unsigned int azx_command_addr(u32 cmd) | 1055 | static unsigned int azx_command_addr(u32 cmd) |
1059 | { | 1056 | { |
@@ -1333,7 +1330,6 @@ static int azx_send_cmd(struct hda_bus *bus, unsigned int val) | |||
1333 | else | 1330 | else |
1334 | return azx_corb_send_cmd(bus, val); | 1331 | return azx_corb_send_cmd(bus, val); |
1335 | } | 1332 | } |
1336 | EXPORT_SYMBOL_GPL(azx_send_cmd); | ||
1337 | 1333 | ||
1338 | /* get a response */ | 1334 | /* get a response */ |
1339 | static unsigned int azx_get_response(struct hda_bus *bus, | 1335 | static unsigned int azx_get_response(struct hda_bus *bus, |
@@ -1347,7 +1343,6 @@ static unsigned int azx_get_response(struct hda_bus *bus, | |||
1347 | else | 1343 | else |
1348 | return azx_rirb_get_response(bus, addr); | 1344 | return azx_rirb_get_response(bus, addr); |
1349 | } | 1345 | } |
1350 | EXPORT_SYMBOL_GPL(azx_get_response); | ||
1351 | 1346 | ||
1352 | #ifdef CONFIG_SND_HDA_DSP_LOADER | 1347 | #ifdef CONFIG_SND_HDA_DSP_LOADER |
1353 | /* | 1348 | /* |
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 5e00cc4a722f..4614cb1f9582 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -1965,7 +1965,7 @@ static const struct pci_device_id azx_ids[] = { | |||
1965 | .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM }, | 1965 | .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM }, |
1966 | /* Panther Point */ | 1966 | /* Panther Point */ |
1967 | { PCI_DEVICE(0x8086, 0x1e20), | 1967 | { PCI_DEVICE(0x8086, 0x1e20), |
1968 | .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH }, | 1968 | .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH_NOPM }, |
1969 | /* Lynx Point */ | 1969 | /* Lynx Point */ |
1970 | { PCI_DEVICE(0x8086, 0x8c20), | 1970 | { PCI_DEVICE(0x8086, 0x8c20), |
1971 | .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH }, | 1971 | .driver_data = AZX_DRIVER_PCH | AZX_DCAPS_INTEL_PCH }, |