]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: ice1712: Check correct return value to snd_i2c_sendbytes (EWS/DMX 6Fire)
authorRui Nuno Capela <rncbc@rncbc.org>
Fri, 7 Jun 2019 14:13:37 +0000 (15:13 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jun 2019 10:06:54 +0000 (12:06 +0200)
commit352bcae97f9ba87801f497571cdec20af190efe1
tree7682ce143f678346493d6e149769504fc8ae13cf
parentd8fa87c368f5b4096c4746894fdcc195da285df1
ALSA: ice1712: Check correct return value to snd_i2c_sendbytes (EWS/DMX 6Fire)

Check for exact and correct return value to snd_i2c_sendbytes
call for EWS/DMX 6Fire (snd_ice1712).

Fixes a systemic error on every boot starting from kernel 5.1
onwards to snd_ice1712 driver ("cannot send pca") on Terratec
EWS/DMX 6Fire PCI soundcards.

Check for exact and correct return value to snd_i2c_sendbytes
call for EWS/DMX 6Fire (snd_ice1712).

Fixes a systemic error on every boot to snd_ice1712 driver
("cannot send pca") on Terratec EWS/DMX 6Fire PCI soundcards.

Fixes: c99776cc4018 ("ALSA: ice1712: fix a missing check of snd_i2c_sendbytes")
Signed-off-by: Rui Nuno Capela <rncbc@rncbc.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/ews.c