Thread (2 messages) flat view 2 messages, 2 authors, 2016-09-06

[PATCH v2] ASoC: rockchip: i2s: restore register during runtime_suspend/resume cycle

From: broonie@kernel.org (Mark Brown)
Date: 2016-09-06 10:33:29
Also in: alsa-devel, linux-rockchip, lkml

On Tue, Sep 06, 2016 at 09:19:53AM +0800, Sugar Zhang wrote:
 	struct rk_i2s_dev *i2s = dev_get_drvdata(dev);
-	int ret;
+	int ret = 0;
 
Why are you initializing this?  All this will do is stop the compiler
warning you about use without initializaiton bugs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160906/94c81b8c/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help