aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/ice1712/ews.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ice1712/ews.c b/sound/pci/ice1712/ews.c
index 7646c93e8268..d492dde88e16 100644
--- a/sound/pci/ice1712/ews.c
+++ b/sound/pci/ice1712/ews.c
@@ -826,7 +826,7 @@ static int snd_ice1712_6fire_read_pca(struct snd_ice1712 *ice, unsigned char reg
826 826
827 snd_i2c_lock(ice->i2c); 827 snd_i2c_lock(ice->i2c);
828 byte = reg; 828 byte = reg;
829 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1)) { 829 if (snd_i2c_sendbytes(spec->i2cdevs[EWS_I2C_6FIRE], &byte, 1) != 1) {
830 snd_i2c_unlock(ice->i2c); 830 snd_i2c_unlock(ice->i2c);
831 dev_err(ice->card->dev, "cannot send pca\n"); 831 dev_err(ice->card->dev, "cannot send pca\n");
832 return -EIO; 832 return -EIO;