diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-02-26 22:26:09 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-02-26 22:26:09 +0300 |
commit | d61b04f801e6005182d432ebe4a0211c1d6feadd (patch) | |
tree | aa085e56e1be528917212f41c485eebdfc072930 /sound/soc/codecs/sigmadsp-i2c.c | |
parent | 30ff5957c3f1887d04ca01d839dc382739e48bde (diff) | |
parent | 473f414564528a819f0c2bb6b4bf26366b64c9ab (diff) | |
download | linux-d61b04f801e6005182d432ebe4a0211c1d6feadd.tar.xz |
Merge branch 'for-linus' into for-next
Diffstat (limited to 'sound/soc/codecs/sigmadsp-i2c.c')
-rw-r--r-- | sound/soc/codecs/sigmadsp-i2c.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/soc/codecs/sigmadsp-i2c.c b/sound/soc/codecs/sigmadsp-i2c.c index 21ca3a5e9f66..d374c18d4db7 100644 --- a/sound/soc/codecs/sigmadsp-i2c.c +++ b/sound/soc/codecs/sigmadsp-i2c.c @@ -31,7 +31,10 @@ static int sigmadsp_write_i2c(void *control_data, kfree(buf); - return ret; + if (ret < 0) + return ret; + + return 0; } static int sigmadsp_read_i2c(void *control_data, |