summaryrefslogtreecommitdiff
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 41b5b3a18c1e..5383d8cff88b 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -1809,6 +1809,8 @@ static struct snd_pci_quirk stac92hd73xx_cfg_tbl[] = {
"Dell Studio 1537", STAC_DELL_M6_DMIC),
SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x02a0,
"Dell Studio 17", STAC_DELL_M6_DMIC),
+ SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x02be,
+ "Dell Studio 1555", STAC_DELL_M6_DMIC),
{} /* terminator */
};
@@ -2378,6 +2380,7 @@ static struct snd_pci_quirk stac9205_cfg_tbl[] = {
SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0228,
"Dell Vostro 1500", STAC_9205_DELL_M42),
/* Gateway */
+ SND_PCI_QUIRK(0x107b, 0x0560, "Gateway T6834c", STAC_9205_EAPD),
SND_PCI_QUIRK(0x107b, 0x0565, "Gateway T1616", STAC_9205_EAPD),
{} /* terminator */
};
@@ -4065,7 +4068,7 @@ static int stac92xx_add_jack(struct hda_codec *codec,
jack->nid = nid;
jack->type = type;
- sprintf(name, "%s at %s %s Jack",
+ snprintf(name, sizeof(name), "%s at %s %s Jack",
snd_hda_get_jack_type(def_conf),
snd_hda_get_jack_connectivity(def_conf),
snd_hda_get_jack_location(def_conf));
@@ -5854,6 +5857,8 @@ static unsigned int *stac9872_brd_tbl[STAC_9872_MODELS] = {
};
static struct snd_pci_quirk stac9872_cfg_tbl[] = {
+ SND_PCI_QUIRK_MASK(0x104d, 0xfff0, 0x81e0,
+ "Sony VAIO F/S", STAC_9872_VAIO),
{} /* terminator */
};
@@ -5866,6 +5871,8 @@ static int patch_stac9872(struct hda_codec *codec)
if (spec == NULL)
return -ENOMEM;
codec->spec = spec;
+ spec->num_pins = ARRAY_SIZE(stac9872_pin_nids);
+ spec->pin_nids = stac9872_pin_nids;
spec->board_config = snd_hda_check_board_config(codec, STAC_9872_MODELS,
stac9872_models,
@@ -5877,8 +5884,6 @@ static int patch_stac9872(struct hda_codec *codec)
stac92xx_set_config_regs(codec,
stac9872_brd_tbl[spec->board_config]);
- spec->num_pins = ARRAY_SIZE(stac9872_pin_nids);
- spec->pin_nids = stac9872_pin_nids;
spec->multiout.dac_nids = spec->dac_nids;
spec->num_adcs = ARRAY_SIZE(stac9872_adc_nids);
spec->adc_nids = stac9872_adc_nids;
Javier Martinez Canillas 2015-04-17rtc: use more standard kernel logging stylesJoe Perches 2014-10-20rtc: drop owner assignment from platform_driversWolfram Sang 2014-10-14rtc: max77686: Use ffs() to calculate tm_wdayJavier Martinez Canillas 2014-10-14rtc: max77686: remove unneeded info logJavier Martinez Canillas 2014-10-14rtc: max77686: fail to probe if no RTC regmap irqchip is setJavier Martinez Canillas 2014-10-14rtc: max77686: remove dead code for SMPL and WTSRJavier Martinez Canillas 2014-10-14rtc: max77686: Allow the max77686 rtc to wakeup the systemDoug Anderson 2014-07-21mfd: max77686: Convert to use regmap_irqJavier Martinez Canillas 2013-09-11drivers/rtc/rtc-max77686.c: Fix wrong registerSangjung Woo 2013-07-03drivers/rtc/rtc-max77686.c: remove empty functionSachin Kamat 2013-07-03drivers/rtc/rtc-max77686.c: remove space before semicolonSachin Kamat 2013-04-29drivers/rtc/rtc-max77686.c: use devm_regmap_init_i2c()Sachin Kamat 2013-04-29drivers/rtc/rtc-max77686.c: fix incorrect return value on errorSachin Kamat 2013-04-29rtc: rtc-max77686: use devm_rtc_device_register()Jingoo Han 2013-04-29drivers/rtc/rtc-max77686.c: use dev_info()/dev_emerg() instead of pr_info()/p...Jingoo Han 2013-04-29drivers/rtc/rtc-max77686.c: fix indentation of bit definitionsJingoo Han 2013-04-29drivers/rtc/rtc-max77686.c: use devm_kzalloc()Jingoo Han 2013-04-29drivers/rtc/rtc-max77686.c: add missing module author nameJingoo Han 2013-04-29drivers/rtc/rtc-max77686.c: use module_platform_driver()Jingoo Han 2013-02-21rtc: max77686: use dev_info() instead of printk()Jingoo Han 2013-02-21rtc: max77686: add Maxim 77686 driverJonghwa Lee