ALSA: ice1712: fix a missing check of snd_i2c_sendbytes
authorAditya Pakki <pakki001@umn.edu>
Sun, 6 Jan 2019 16:31:44 +0000 (10:31 -0600)
committerTakashi Iwai <tiwai@suse.de>
Mon, 7 Jan 2019 10:57:54 +0000 (11:57 +0100)
commitc99776cc4018e91c66bd448002e924edd4910947
tree362815a914352d873f6888f37ff687a5f94b5010
parent0f25e000cb4398081748e54f62a902098aa79ec1
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>
sound/pci/ice1712/ews.c