ALSA: ice1712: fix a missing check of snd_i2c_sendbytes

snd_i2c_sendbytes could fail. The fix checks its return value: if it
fails, issues an error message and returns with its error code.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Aditya Pakki 2019-01-06 10:31:44 -06:00 • committed by Takashi Iwai
commit c99776cc40