Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1477269

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

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] ASoC: rockchip: i2s: restore register during runtime_suspend/resume cycle
Date 2016-09-06 12:40 +0200
Message-ID <selXj-PI-29@gated-at.bofh.it> (permalink)
References <sedn3-3oR-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] ASoC: rockchip: i2s: restore register during runtime_suspend/resume cycle Sugar Zhang <sugar.zhang@rock-chips.com> - 2016-09-06 03:30 +0200
  Re: [PATCH v2] ASoC: rockchip: i2s: restore register during  runtime_suspend/resume cycle Mark Brown <broonie@kernel.org> - 2016-09-06 12:40 +0200

csiph-web