Skip to content

Commit 3de6295

Browse files
committed
Merge tag 'sound-fix-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai: "Just a collection of small fixes here: the most outstanding one is the re-application of USB-audio lowlatency support that was reverted in the previous PR. The rest are device-specific quirks/fixes, spelling fixes and a regression fix for the old intel8x0 driver" * tag 'sound-fix-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ALSA: intel8x0: Fix breakage at ac97 clock measurement ALSA: usb-audio: Reduce latency at playback start, take#2 ALSA: isa: Fix error return code in snd_cmi8330_probe() ALSA: emux: fix spelling mistakes ALSA: usb-audio: fix spelling mistakes ALSA: bebob: correct duplicated entries with TerraTec OUI ALSA: usx2y: fix spelling mistakes ALSA: x86: fix spelling mistakes ALSA: hda/realtek: fix mute led of the HP Pavilion 15-eh1xxx series
2 parents 5a7f7fc + 24d1e49 commit 3de6295

16 files changed

Lines changed: 43 additions & 26 deletions

File tree

sound/firewire/bebob/bebob.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,6 @@ static const struct ieee1394_device_id bebob_id_table[] = {
403403
SND_BEBOB_DEV_ENTRY(VEN_APOGEE, 0x01eeee, &spec_normal),
404404
/* ESI, Quatafire610 */
405405
SND_BEBOB_DEV_ENTRY(VEN_ESI, 0x00010064, &spec_normal),
406-
// AcousticReality, eARMasterOne. Terratec OEM.
407-
SND_BEBOB_DEV_ENTRY(VEN_TERRATEC, 0x00000002, &spec_normal),
408406
/* CME, MatrixKFW */
409407
SND_BEBOB_DEV_ENTRY(VEN_CME, 0x00030000, &spec_normal),
410408
// Phonic Helix Board 12 FireWire MkII.
@@ -434,7 +432,8 @@ static const struct ieee1394_device_id bebob_id_table[] = {
434432
SND_BEBOB_DEV_ENTRY(VEN_TERRATEC, 0x00000007, &yamaha_terratec_spec),
435433
/* TerraTec Electronic GmbH, EWS MIC2/MIC8 */
436434
SND_BEBOB_DEV_ENTRY(VEN_TERRATEC, 0x00000005, &spec_normal),
437-
/* Terratec Electronic GmbH, Aureon 7.1 Firewire */
435+
// Terratec Electronic GmbH, Aureon 7.1 Firewire.
436+
// AcousticReality, eAR Master One, Eroica, Figaro, and Ciaccona. Perhaps Terratec OEM.
438437
SND_BEBOB_DEV_ENTRY(VEN_TERRATEC, 0x00000002, &spec_normal),
439438
/* Yamaha, GO44 */
440439
SND_BEBOB_DEV_ENTRY(VEN_YAMAHA, 0x0010000b, &yamaha_terratec_spec),

sound/isa/cmi8330.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ static int snd_cmi8330_probe(struct snd_card *card, int dev)
551551
}
552552
if (acard->sb->hardware != SB_HW_16) {
553553
snd_printk(KERN_ERR PFX "SB16 not found during probe\n");
554-
return err;
554+
return -ENODEV;
555555
}
556556

557557
snd_wss_out(acard->wss, CS4231_MISC_INFO, 0x40); /* switch on MODE2 */

sound/pci/hda/patch_realtek.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8442,6 +8442,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
84428442
SND_PCI_QUIRK(0x103c, 0x888d, "HP ZBook Power 15.6 inch G8 Mobile Workstation PC", ALC236_FIXUP_HP_GPIO_LED),
84438443
SND_PCI_QUIRK(0x103c, 0x8896, "HP EliteBook 855 G8 Notebook PC", ALC285_FIXUP_HP_MUTE_LED),
84448444
SND_PCI_QUIRK(0x103c, 0x8898, "HP EliteBook 845 G8 Notebook PC", ALC285_FIXUP_HP_LIMIT_INT_MIC_BOOST),
8445+
SND_PCI_QUIRK(0x103c, 0x88d0, "HP Pavilion 15-eh1xxx (mainboard 88D0)", ALC287_FIXUP_HP_GPIO_LED),
84458446
SND_PCI_QUIRK(0x1043, 0x103e, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC),
84468447
SND_PCI_QUIRK(0x1043, 0x103f, "ASUS TX300", ALC282_FIXUP_ASUS_TX300),
84478448
SND_PCI_QUIRK(0x1043, 0x106d, "Asus K53BE", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),

sound/pci/intel8x0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ static inline void snd_intel8x0_update(struct intel8x0 *chip, struct ichdev *ich
694694
int status, civ, i, step;
695695
int ack = 0;
696696

697-
if (!ichdev->prepared || ichdev->suspended)
697+
if (!(ichdev->prepared || chip->in_measurement) || ichdev->suspended)
698698
return;
699699

700700
spin_lock_irqsave(&chip->reg_lock, flags);

sound/synth/emux/emux_nrpn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static const int gs_sense[] =
6969
DEF_FX_VIBRATE, DEF_FX_VIBDEPTH, DEF_FX_VIBDELAY
7070
};
7171

72-
/* effect sensitivies for XG controls:
72+
/* effect sensitivities for XG controls:
7373
* adjusted for chaos 8MB soundfonts
7474
*/
7575
static const int xg_sense[] =

sound/synth/emux/soundfont.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ snd_soundfont_close_check(struct snd_sf_list *sflist, int client)
108108
* Deal with a soundfont patch. Any driver could use these routines
109109
* although it was designed for the AWE64.
110110
*
111-
* The sample_write and callargs pararameters allow a callback into
111+
* The sample_write and callargs parameters allow a callback into
112112
* the actual driver to write sample data to the board or whatever
113113
* it wants to do with it.
114114
*/
@@ -799,7 +799,7 @@ snd_sf_linear_to_log(unsigned int amount, int offset, int ratio)
799799
amount <<= 1;
800800
s = (amount >> 24) & 0x7f;
801801
low = (amount >> 16) & 0xff;
802-
/* linear approxmimation by lower 8 bit */
802+
/* linear approximation by lower 8 bit */
803803
v = (log_tbl[s + 1] * low + log_tbl[s] * (0x100 - low)) >> 8;
804804
v -= offset;
805805
v = (v * ratio) >> 16;
@@ -1433,7 +1433,7 @@ snd_sf_free(struct snd_sf_list *sflist)
14331433

14341434
/*
14351435
* Remove all samples
1436-
* The soundcard should be silet before calling this function.
1436+
* The soundcard should be silent before calling this function.
14371437
*/
14381438
int
14391439
snd_soundfont_remove_samples(struct snd_sf_list *sflist)

sound/usb/card.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct audioformat {
1919
unsigned char iface; /* interface number */
2020
unsigned char altsetting; /* corresponding alternate setting */
2121
unsigned char ep_idx; /* endpoint array index */
22-
unsigned char altset_idx; /* array index of altenate setting */
22+
unsigned char altset_idx; /* array index of alternate setting */
2323
unsigned char attributes; /* corresponding attributes of cs endpoint */
2424
unsigned char endpoint; /* endpoint */
2525
unsigned char ep_attr; /* endpoint attributes */
@@ -158,6 +158,7 @@ struct snd_usb_substream {
158158
unsigned int stream_offset_adj; /* Bytes to drop from beginning of stream (for non-compliant devices) */
159159

160160
unsigned int running: 1; /* running status */
161+
unsigned int period_elapsed_pending; /* delay period handling */
161162

162163
unsigned int buffer_bytes; /* buffer size in bytes */
163164
unsigned int inflight_bytes; /* in-flight data bytes on buffer (for playback) */

sound/usb/endpoint.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ static bool endpoint_compatible(struct snd_usb_endpoint *ep,
645645
}
646646

647647
/*
648-
* Check whether the given fp and hw params are compatbile with the current
648+
* Check whether the given fp and hw params are compatible with the current
649649
* setup of the target EP for implicit feedback sync
650650
*/
651651
bool snd_usb_endpoint_compatible(struct snd_usb_audio *chip,
@@ -1245,7 +1245,7 @@ static int snd_usb_endpoint_set_params(struct snd_usb_audio *chip,
12451245
*
12461246
* This function sets up the EP to be fully usable state.
12471247
* It's called either from hw_params or prepare callback.
1248-
* The function checks need_setup flag, and perfoms nothing unless needed,
1248+
* The function checks need_setup flag, and performs nothing unless needed,
12491249
* so it's safe to call this multiple times.
12501250
*
12511251
* This returns zero if unchanged, 1 if the configuration has changed,

sound/usb/media.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ int snd_media_device_create(struct snd_usb_audio *chip,
285285
ret);
286286

287287
if (!media_devnode_is_registered(mdev->devnode)) {
288-
/* dont'register if snd_media_mixer_init() failed */
288+
/* don't register if snd_media_mixer_init() failed */
289289
if (ret)
290290
goto create_fail;
291291

sound/usb/mixer_s1810c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ snd_s1810c_send_ctl_packet(struct usb_device *dev, u32 a,
163163
}
164164

165165
/*
166-
* When opening Universal Control the program periodicaly
166+
* When opening Universal Control the program periodically
167167
* sends and receives state packets for syncinc state between
168168
* the device and the host.
169169
*

0 commit comments

Comments
 (0)