diff options
author | Sachin Kamat <sachin.kamat@samsung.com> | 2014-06-20 05:59:12 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-27 07:48:23 -0400 |
commit | ba546687083b68f43c26fcce9771278faae2bcf5 (patch) | |
tree | d591560d053518f78c5c39aba18d9543b38152f3 | |
parent | 0463585ce5186e617aa5a04fa9f3f27160810a21 (diff) |
ASoC: wm_hubs: Remove redundant OOM message
Let memory subsystem handle the error logging.
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | sound/soc/codecs/wm_hubs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c index 916817fe6632..374537d5e179 100644 --- a/sound/soc/codecs/wm_hubs.c +++ b/sound/soc/codecs/wm_hubs.c | |||
@@ -183,10 +183,8 @@ static void wm_hubs_dcs_cache_set(struct snd_soc_codec *codec, u16 dcs_cfg) | |||
183 | return; | 183 | return; |
184 | 184 | ||
185 | cache = devm_kzalloc(codec->dev, sizeof(*cache), GFP_KERNEL); | 185 | cache = devm_kzalloc(codec->dev, sizeof(*cache), GFP_KERNEL); |
186 | if (!cache) { | 186 | if (!cache) |
187 | dev_err(codec->dev, "Failed to allocate DCS cache entry\n"); | ||
188 | return; | 187 | return; |
189 | } | ||
190 | 188 | ||
191 | cache->left = snd_soc_read(codec, WM8993_LEFT_OUTPUT_VOLUME); | 189 | cache->left = snd_soc_read(codec, WM8993_LEFT_OUTPUT_VOLUME); |
192 | cache->left &= WM8993_HPOUT1L_VOL_MASK; | 190 | cache->left &= WM8993_HPOUT1L_VOL_MASK; |