• Rui Nuno Capela's avatar
    ALSA: ice1712: Check correct return value to snd_i2c_sendbytes (EWS/DMX 6Fire) · 352bcae9
    Rui Nuno Capela authored
    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: c99776cc ("ALSA: ice1712: fix a missing check of snd_i2c_sendbytes")
    Signed-off-by: default avatarRui Nuno Capela <rncbc@rncbc.org>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    352bcae9
ews.c 30.7 KB