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

Mark Brown broonie at kernel.org
Tue Sep 6 03:29:44 PDT 2016


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>


More information about the linux-arm-kernel mailing list