aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-04-15 13:45:16 -0400
committerTakashi Iwai <tiwai@suse.de>2013-04-15 13:45:16 -0400
commitad2109d7d258a92fa016f1f36b423bfcc69f7efc (patch)
treef1a98ab99b8e80c376b13ac3a82d750ab9b179cf /sound/pci
parentcbc200bca4b51a8e2406d4b654d978f8503d430b (diff)
parent5cbad7d39ad229c68a724e5e139fd845b93766b2 (diff)
Merge tag 'asoc-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: Updates for v3.10 A bunch of changes here, the most interesting one subsystem wise being Morimoto-san's work to create snd_soc_component which doesn't do much for now but will be pretty important going forwards: - Add a new component object type which will form the basis of moving to a more generic handling of SoC and off-SoC components, contributed by Kuninori Morimoto. - A fairly large set of cleanups for the dmaengine integration from Lars-Peter Clausen, starting to move towards being able to have a generic driver based on the library. - Performance optimisations to DAPM from Ryo Tsutsui. - Support for mixer control sharing in DAPM from Stephen Warren. - Multiplatform ARM cleanups from Arnd Bergmann. - New CODEC drivers for AK5385 and TAS5086 from Daniel Mack.
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/hda_codec.c2
-rw-r--r--sound/pci/hda/hda_generic.c2
-rw-r--r--sound/pci/hda/hda_intel.c6
-rw-r--r--sound/pci/hda/patch_realtek.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 17286b3c766e..e37b7388e8aa 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -173,7 +173,7 @@ const char *snd_hda_get_jack_type(u32 cfg)
173 "Line Out", "Speaker", "HP Out", "CD", 173 "Line Out", "Speaker", "HP Out", "CD",
174 "SPDIF Out", "Digital Out", "Modem Line", "Modem Hand", 174 "SPDIF Out", "Digital Out", "Modem Line", "Modem Hand",
175 "Line In", "Aux", "Mic", "Telephony", 175 "Line In", "Aux", "Mic", "Telephony",
176 "SPDIF In", "Digitial In", "Reserved", "Other" 176 "SPDIF In", "Digital In", "Reserved", "Other"
177 }; 177 };
178 178
179 return jack_types[(cfg & AC_DEFCFG_DEVICE) 179 return jack_types[(cfg & AC_DEFCFG_DEVICE)
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c
index 29be37f9f5a2..c7b59ddc4bce 100644
--- a/sound/pci/hda/hda_generic.c
+++ b/sound/pci/hda/hda_generic.c
@@ -751,7 +751,7 @@ EXPORT_SYMBOL_HDA(snd_hda_activate_path);
751static void path_power_down_sync(struct hda_codec *codec, struct nid_path *path) 751static void path_power_down_sync(struct hda_codec *codec, struct nid_path *path)
752{ 752{
753 struct hda_gen_spec *spec = codec->spec; 753 struct hda_gen_spec *spec = codec->spec;
754 bool changed; 754 bool changed = false;
755 int i; 755 int i;
756 756
757 if (!spec->power_down_unused || path->active) 757 if (!spec->power_down_unused || path->active)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 3e6f2c6dc53f..63734b531f36 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -134,8 +134,8 @@ MODULE_PARM_DESC(power_save, "Automatic power-saving timeout "
134 * this may give more power-saving, but will take longer time to 134 * this may give more power-saving, but will take longer time to
135 * wake up. 135 * wake up.
136 */ 136 */
137static int power_save_controller = -1; 137static bool power_save_controller = 1;
138module_param(power_save_controller, bint, 0644); 138module_param(power_save_controller, bool, 0644);
139MODULE_PARM_DESC(power_save_controller, "Reset controller in power save mode."); 139MODULE_PARM_DESC(power_save_controller, "Reset controller in power save mode.");
140#endif /* CONFIG_PM */ 140#endif /* CONFIG_PM */
141 141
@@ -2959,8 +2959,6 @@ static int azx_runtime_idle(struct device *dev)
2959 struct snd_card *card = dev_get_drvdata(dev); 2959 struct snd_card *card = dev_get_drvdata(dev);
2960 struct azx *chip = card->private_data; 2960 struct azx *chip = card->private_data;
2961 2961
2962 if (power_save_controller > 0)
2963 return 0;
2964 if (!power_save_controller || 2962 if (!power_save_controller ||
2965 !(chip->driver_caps & AZX_DCAPS_PM_RUNTIME)) 2963 !(chip->driver_caps & AZX_DCAPS_PM_RUNTIME))
2966 return -EBUSY; 2964 return -EBUSY;
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index cba9dc6dc38b..74bf5f6595b9 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -3920,7 +3920,8 @@ static int alc662_parse_auto_config(struct hda_codec *codec)
3920 const hda_nid_t *ssids; 3920 const hda_nid_t *ssids;
3921 3921
3922 if (codec->vendor_id == 0x10ec0272 || codec->vendor_id == 0x10ec0663 || 3922 if (codec->vendor_id == 0x10ec0272 || codec->vendor_id == 0x10ec0663 ||
3923 codec->vendor_id == 0x10ec0665 || codec->vendor_id == 0x10ec0670) 3923 codec->vendor_id == 0x10ec0665 || codec->vendor_id == 0x10ec0670 ||
3924 codec->vendor_id == 0x10ec0671)
3924 ssids = alc663_ssids; 3925 ssids = alc663_ssids;
3925 else 3926 else
3926 ssids = alc662_ssids; 3927 ssids = alc662_ssids;
@@ -4392,6 +4393,7 @@ static const struct hda_codec_preset snd_hda_preset_realtek[] = {
4392 { .id = 0x10ec0665, .name = "ALC665", .patch = patch_alc662 }, 4393 { .id = 0x10ec0665, .name = "ALC665", .patch = patch_alc662 },
4393 { .id = 0x10ec0668, .name = "ALC668", .patch = patch_alc662 }, 4394 { .id = 0x10ec0668, .name = "ALC668", .patch = patch_alc662 },
4394 { .id = 0x10ec0670, .name = "ALC670", .patch = patch_alc662 }, 4395 { .id = 0x10ec0670, .name = "ALC670", .patch = patch_alc662 },
4396 { .id = 0x10ec0671, .name = "ALC671", .patch = patch_alc662 },
4395 { .id = 0x10ec0680, .name = "ALC680", .patch = patch_alc680 }, 4397 { .id = 0x10ec0680, .name = "ALC680", .patch = patch_alc680 },
4396 { .id = 0x10ec0880, .name = "ALC880", .patch = patch_alc880 }, 4398 { .id = 0x10ec0880, .name = "ALC880", .patch = patch_alc880 },
4397 { .id = 0x10ec0882, .name = "ALC882", .patch = patch_alc882 }, 4399 { .id = 0x10ec0882, .name = "ALC882", .patch = patch_alc882 },