diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-04-30 19:08:06 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-30 19:08:06 +0200 |
commit | 0ae3aba2865a5a6f5ee82e9651f0a69daf19d79c (patch) | |
tree | ca4884719ad40ba247df7954d8d7cf86b9a01239 /sound/soc/codecs/tfa9879.c | |
parent | 7241ea558c6715501e777396b5fc312c372e11d9 (diff) | |
parent | d839c98f98826f0c13e46d5a4cecb46dd357b50e (diff) | |
download | op-kernel-dev-0ae3aba2865a5a6f5ee82e9651f0a69daf19d79c.zip op-kernel-dev-0ae3aba2865a5a6f5ee82e9651f0a69daf19d79c.tar.gz |
Merge tag 'asoc-v4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v4.1
A few fixes for v4.1, none earth shattering and mostly driver related
except for one change to fix !PM builds for Intel platforms which is
done by adding stubs in the core so other platforms don't run into the
same issue.
Diffstat (limited to 'sound/soc/codecs/tfa9879.c')
-rw-r--r-- | sound/soc/codecs/tfa9879.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9879.c index 16f1b71..aab0af6 100644 --- a/sound/soc/codecs/tfa9879.c +++ b/sound/soc/codecs/tfa9879.c @@ -280,8 +280,8 @@ static int tfa9879_i2c_probe(struct i2c_client *i2c, int i; tfa9879 = devm_kzalloc(&i2c->dev, sizeof(*tfa9879), GFP_KERNEL); - if (IS_ERR(tfa9879)) - return PTR_ERR(tfa9879); + if (!tfa9879) + return -ENOMEM; i2c_set_clientdata(i2c, tfa9879); |